Function at 0x40c110
Capabilities:
Accept command line arguments
Get hostname
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt
Initialize winhttp library
Prepare http request
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x2b8
mov eax, dword [0x417040]
xor eax, esp
mov dword [esp + 0x2b4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.USER32.dll_LoadIconW]
push 0x7f00
push esi
mov dword [esp + 0x48], 0x30
mov dword [esp + 0x4c], 3
mov dword [esp + 0x50], 0x40b590
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], esi
call edi
push 0x7f00
push 0
mov dword [esp + 0x60], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0x7f00
push dword [esp + 0x58]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], 6
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], str.ConvertToOFX
call edi
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
test ax, ax
jne 0x40c1e4
push str.Cannot_create_window._Exiting.
push str.Call_to_RegisterClassEx_failed_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x2b4]
xor ecx, esp
call fcn.0041003c
mov esp, ebp
pop ebp
ret 0x10
push esi
push 0
push 0
push 0x258
push 0x2bc
push 0x80000000
push 0x80000000
push 0xcf0000
push 0x4170a0
push str.ConvertToOFX
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
mov dword [esp + 0x24], esi
test esi, esi
jne 0x40c24a
push 0x10
push str.Error
push str.Call_to_CreateWindow_failed_
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
lea eax, [esi + 1]
pop edi
pop esi
mov ecx, dword [esp + 0x2b4]
xor ecx, esp
call fcn.0041003c
mov esp, ebp
pop ebp
ret 0x10
push 0x7f03
push 0
call edi
push eax
push 0xfffffffffffffff2
push esi
call dword [sym.imp.USER32.dll_SetClassLongW]
call dword [sym.imp.USER32.dll_CreateMenu]
mov esi, dword [sym.imp.USER32.dll_CreatePopupMenu]
mov dword [esp + 0x18], eax
call esi
mov edi, eax
call esi
mov dword [esp + 0x14], eax
call esi
mov dword [esp + 0x1c], eax
call esi
push str.File
push edi
push 0x10
push dword [esp + 0x24]
mov dword [esp + 0x30], eax
call dword [sym.imp.USER32.dll_AppendMenuW]
mov esi, dword [esp + 0x14]
push str.OFX_Actions
push esi
push 0x10
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_AppendMenuW]
push str.Config
push dword [esp + 0x20]
push 0x10
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_AppendMenuW]
push str.Help
push dword [esp + 0x24]
push 0x10
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_AppendMenuW]
push str.Open_File..._tALTO
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_AppendMenuW]
push str.Exit
push 1
push 0
push edi
mov edi, dword [sym.imp.USER32.dll_AppendMenuW]
call edi
push str.Convert_To_OFX_tALTC
push 2
push 0
push esi
call edi
push str.Save_OFX_As..._tALTS
push 3
push 0
push esi
call edi
push str.Send_OFX_To_Money_Import_Handler_tALTI
push 4
push 0
push esi
call edi
mov esi, dword [esp + 0x1c]
push str.Change_Money_Import_Handler_Location
push 8
push 0
push esi
call edi
push str.Delete_the_MEMO_field_if_identical_to_NAME_field
push 9
push 0
push esi
call edi
push str.Trim_the_left_and_right_sides_of_each_line
push 0xa
push 0
push esi
call edi
mov esi, dword [esp + 0x20]
push str.On_Line_Documentation
push 5
push 0
push esi
call edi
push str.Privacy_Notice__GDPR_
push 7
push 0
push esi
call edi
push 0x413720
push 6
push 0
push esi
call edi
cmp byte [0x41709c], 0
mov edi, dword [sym.imp.USER32.dll_CheckMenuItem]
mov esi, dword [esp + 0x1c]
je 0x40c385
push 8
push 9
push esi
call edi
cmp byte [0x41709d], 0
je 0x40c395
push 8
push 0xa
push esi
call edi
push dword [esp + 0x18]
mov esi, dword [esp + 0x28]
push esi
call dword [sym.imp.USER32.dll_SetMenu]
push dword [ebp + 0x14]
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
lea eax, [esp + 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [esp + 0xac], 2
jne 0x40c3de
mov ecx, dword [eax + 4]
mov edx, esi
call fcn.0040aa40
push 4
lea eax, [esp + 0x194]
mov dword [esp + 0x196], 0x20043
push eax
mov byte [esp + 0x198], 0x11
mov dword [esp + 0x1a0], 0x30053
mov byte [esp + 0x19e], 0x11
mov dword [esp + 0x1a6], 0x40049
mov byte [esp + 0x1a4], 0x11
mov dword [esp + 0x1ac], 0x4f
mov byte [esp + 0x1aa], 0x11
call dword [sym.imp.USER32.dll_CreateAcceleratorTableW]
mov dword [esp + 0x20], eax
xorps xmm0, xmm0
lea eax, [esp + 0xa4]
mov dword [esp + 0x1a8], 0x4e4b4e55
push eax
lea eax, [esp + 0x1ac]
mov dword [esp + 0x1b0], 0x4e574f
push eax
movq qword [esp + 0x1b8], xmm0
mov dword [esp + 0xac], 7
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push pe_nt_image_headers32
lea eax, [esp + 0x1bc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x9c], pe_nt_image_headers32
lea eax, [esp + 0xa8]
push 0xf0000020
push 1
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x40c525
lea eax, [esp + 0xa0]
push eax
push 0
push 0
push 0x8003
push dword [esp + 0xb8]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x40c525
push 0
push dword [esp + 0xa8]
lea eax, [esp + 0x1b0]
push eax
push dword [esp + 0xac]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x40c525
push 0
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0x1c0]
push eax
push 2
push dword [esp + 0xb0]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push 0x94
lea eax, [esp + 0x100]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0xf8], 0x414334
lea ecx, [esp + 0x148]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
push 0
lea eax, [esp + 0x104]
push eax
lea ecx, [esp + 0x104]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov eax, dword [esp + 0xf8]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0xf8], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [esp + 0xf8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [esp + ecx + 0xf4], eax
lea ecx, [esp + 0xfc]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
xor edi, edi
mov dword [esp + 0xfc], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
xor esi, esi
mov dword [esp + 0x134], edi
mov edx, 4
mov dword [esp + 0x138], edx
cmp dword [esp + 0x9c], esi
jbe 0x40c60b
nop
movzx eax, byte [esp + esi + 0x1b8]
lea ecx, [esp + 0xf8]
push eax
push 0x405a10
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
inc esi
cmp esi, dword [esp + 0x9c]
jb 0x40c5d0
mov edx, dword [esp + 0x138]
mov edi, dword [esp + 0x134]
mov eax, edx
mov dword [esp + 0xc0], 0
xorps xmm0, xmm0
mov dword [esp + 0x30], 0
and al, 0x22
movaps xmmword [esp + 0xb0], xmm0
mov byte [esp + 0xb0], 0
mov esi, 0xf
mov dword [esp + 0xc4], esi
movq qword [esp + 0x28], xmm0
cmp al, 2
je 0x40c66a
mov eax, dword [esp + 0x11c]
mov ecx, dword [eax]
test ecx, ecx
je 0x40c66a
mov eax, dword [esp + 0x10c]
cmp ecx, edi
cmovb ecx, edi
mov edx, dword [eax]
sub ecx, edx
jmp 0x40c69c
test dl, 4
jne 0x40c694
mov eax, dword [esp + 0x118]
mov edi, dword [eax]
test edi, edi
je 0x40c694
mov eax, dword [esp + 0x108]
mov edx, dword [eax]
mov eax, dword [esp + 0x128]
mov ecx, dword [eax]
sub ecx, edx
add ecx, edi
jmp 0x40c69c
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
test edx, edx
je 0x40c6b5
push ecx
push edx
lea ecx, [esp + 0xb8]
call fcn.0040dfb0
mov esi, dword [esp + 0xc4]
mov ecx, dword [esp + 0xb0]
lea eax, [esp + 0xb0]
cmp esi, 0xf
lea edi, [esp + 0xb0]
xorps xmm0, xmm0
cmova eax, ecx
movaps xmmword [esp + 0x70], xmm0
add eax, dword [esp + 0xc0]
cmp esi, 0xf
mov dword [esp + 0x14], eax
cmova edi, ecx
cmp edi, eax
jne 0x40c70f
xor eax, eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 7
mov word [esp + 0x70], ax
jmp 0x40c81a
sub eax, edi
xor edx, edx
mov dword [esp + 0x80], edx
mov esi, 7
mov dword [esp + 0x84], esi
cmp eax, 0x7ffffffe
ja 0x40caf9
cmp eax, esi
jbe 0x40c7d0
mov esi, eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x40c754
mov eax, 0x7fffffff
mov esi, 0x7ffffffe
add eax, eax
jmp 0x40c775
mov eax, 0xa
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
cmp eax, 0x7fffffff
ja 0x40cafe
add eax, eax
cmp eax, 0x1000
jb 0x40c7a5
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x40cafe
push ecx
call fcn.0041004f
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x40ca64
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
mov edx, dword [esp + 0x80]
jmp 0x40c7bd
test eax, eax
je 0x40c7bb
push eax
call fcn.0041004f
mov edx, dword [esp + 0x84]
add esp, 4
jmp 0x40c7bd
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x84], esi
nop dword [eax + eax]
movsx ax, byte [edi]
lea ecx, [esp + 0x70]
cmp esi, 7
cmova ecx, dword [esp + 0x70]
inc edi
mov word [ecx + edx*2], ax
mov edx, dword [esp + 0x80]
inc edx
mov dword [esp + 0x80], edx
cmp edi, dword [esp + 0x14]
je 0x40c803
mov esi, dword [esp + 0x84]
jmp 0x40c7d0
cmp dword [esp + 0x84], 7
lea eax, [esp + 0x70]
cmova eax, dword [esp + 0x70]
xor ecx, ecx
mov word [eax + edx*2], cx
push ecx
mov edx, 0x414264
lea ecx, [esp + 0x2c]
call fcn.0040e510
add esp, 4
mov ecx, eax
cmp dword [eax + 0x14], 7
jbe 0x40c836
mov ecx, dword [eax]
mov edi, dword [eax + 0x10]
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x84]
sub eax, edx
mov dword [esp + 0x14], edx
cmp edi, eax
ja 0x40c88b
cmp dword [esp + 0x84], 7
lea eax, [edx + edi]
mov dword [esp + 0x80], eax
lea esi, [esp + 0x70]
cmova esi, dword [esp + 0x70]
lea eax, [edi + edi]
push eax
push ecx
lea eax, [esi + edx*2]
push eax
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [esp + 0x20]
add esp, 0xc
add eax, edi
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x40c8a0
push edi
push ecx
mov byte [esp + 0x1c], 0
lea ecx, [esp + 0x78]
push dword [esp + 0x1c]
push edi
call fcn.0040edf0
mov ecx, dword [esp + 0x3c]
cmp ecx, 7
jbe 0x40c8de
mov edx, dword [esp + 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40c8d4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40c8d4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0041007f
add esp, 8
push dword [esp + 0xa0]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [esp + 0xac]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp dword [esp + 0x84], 7
lea eax, [esp + 0x70]
push 0x10000000
cmova eax, dword [esp + 0x74]
push 0
push 0
push 0
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
test eax, eax
je 0x40c968
push 0
push 0x50
push str.www.norcalico.com
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
test eax, eax
je 0x40c968
push pe_nt_image_headers32
push 0
push 0
push 0
push str._ConvertToOFX_usage_
push 0x4142bc
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
test eax, eax
je 0x40c968
push 0
push 0
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [esp + 0xdc]
push 0
push 0
push 0
push eax
call edi
test eax, eax
je 0x40c9d7
mov esi, dword [esp + 0x24]
nop word [eax + eax]
lea eax, [esp + 0xdc]
push eax
push dword [esp + 0x24]
push esi
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x40c9c3
lea eax, [esp + 0xdc]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0xdc]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [esp + 0xe8]
push eax
call edi
test eax, eax
jne 0x40c990
mov ecx, dword [esp + 0x84]
mov esi, dword [esp + 0xe4]
cmp ecx, 7
jbe 0x40ca19
mov edx, dword [esp + 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40ca0f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ca64
push ecx
push edx
call fcn.0041007f
add esp, 8
mov ecx, dword [esp + 0xc4]
xor eax, eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 7
mov word [esp + 0x70], ax
cmp ecx, 0xf
jbe 0x40ca74
mov edx, dword [esp + 0xb0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40ca6a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40ca6a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0041007f
add esp, 8
mov eax, dword [esp + 0xf8]
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0xf
mov byte [esp + 0xb0], 0
mov eax, dword [eax + 4]
mov dword [esp + eax + 0xf8], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov ecx, dword [esp + 0xf8]
mov edx, dword [ecx + 4]
lea ecx, [edx - 0x50]
mov dword [esp + edx + 0xf4], ecx
lea ecx, [esp + 0xfc]
call fcn.0040d150
lea ecx, [esp + 0x100]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [esp + 0x148]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov ecx, dword [esp + 0x2bc]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.0041003c
mov esp, ebp
pop ebp
ret 0x10
call fcn.004059e0
call fcn.00405930
int3