Function at 0x41a5f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x45e3bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x88]
call fcn.0044caa5
lea eax, [esp + 0x10]
mov ecx, 0x47f818
push eax
mov dword [esp + 0x138], 0
call fcn.004019c0
mov eax, dword [eax]
lea ecx, [esp + 0x88]
push 2
push ecx
push eax
mov byte [esp + 0x140], 1
call fcn.0041bbe0
add esp, 0xc
lea ecx, [esp + 0x10]
mov byte [esp + 0x134], 0
call fcn.0044ee01
mov edx, dword [0x4790e8]
mov dword [esp + 0x30], edx
push 0xa
lea ecx, [esp + 0x70]
mov byte [esp + 0x138], 2
call fcn.0044d93f
mov ecx, 0x24
xor eax, eax
lea edi, [esp + 0x9c]
mov byte [esp + 0x134], 3
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
mov ecx, 0x47f818
push eax
call fcn.00401b20
lea ecx, [esp + 0x9c]
mov byte [esp + 0x134], 4
push ecx
push 0
mov ecx, eax
call fcn.0044f1bd
push eax
call fcn.0041b210
add esp, 8
lea ecx, [esp + 0x10]
mov edi, eax
mov byte [esp + 0x134], 3
call fcn.0044ee01
test edi, edi
je 0x41a735
lea edx, [esp + 0x11c]
push 3
push edx
lea ecx, [esp + 0x18]
call fcn.0044ba64
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x138], 5
call fcn.0044ef3a
lea ecx, [esp + 0x10]
mov byte [esp + 0x134], 3
call fcn.0044ee01
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x11f]
push eax
push ecx
lea ecx, [esp + 0x74]
call fcn.0044daec
mov ecx, eax
call fcn.0044ef8a
mov eax, dword [0x4790e8]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x1c], eax
mov ebp, ecx
xor edi, edi
mov byte [esp + 0x134], 9
test ecx, ecx
jle 0x41a87a
mov bl, 0xc
lea edx, [esp + 0x10]
push edi
push edx
lea ecx, [esp + 0x90]
call fcn.00412ce0
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x138], 0xa
call fcn.0044ef3a
lea ecx, [esp + 0x10]
mov byte [esp + 0x134], 9
call fcn.0044ee01
mov eax, dword [esp + 0x2c]
cmp dword [eax - 8], 3
jle 0x41a86c
lea ecx, [esp + 0x14]
push 3
push ecx
lea ecx, [esp + 0x34]
call fcn.0044bc93
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x138], 0xb
call fcn.0044ef3a
lea ecx, [esp + 0x14]
mov byte [esp + 0x134], 9
call fcn.0044ee01
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
push edx
push eax
call fcn.0042ce73
add esp, 8
test eax, eax
je 0x41a86c
lea ecx, [esp + 0x18]
push 3
push ecx
lea ecx, [esp + 0x34]
call fcn.0044bb5e
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x138], bl
call fcn.0044ef3a
lea ecx, [esp + 0x18]
mov byte [esp + 0x134], 9
call fcn.0044ee01
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x74]
call fcn.0044dac6
test eax, eax
je 0x41a852
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x1c]
push ecx
push edx
call fcn.0041bd10
add esp, 8
test eax, eax
jge 0x41a86c
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x74]
call fcn.0044daec
mov ecx, eax
call fcn.0044ef8a
inc edi
cmp edi, ebp
jl 0x41a767
mov eax, dword [0x4790e8]
mov ecx, dword [esp + 0x78]
mov edi, dword [esp + 0x13c]
neg ecx
sbb ecx, ecx
test ecx, ecx
mov dword [esp + 0x44], ecx
je 0x41a93f
mov bl, 0xe
lea edx, [esp + 0x1c]
lea eax, [esp + 0x20]
push edx
lea ecx, [esp + 0x48]
push eax
push ecx
lea ecx, [esp + 0x78]
call fcn.0044db4e
lea edx, [esp + 0x20]
push 0x7c
lea eax, [esp + 0x14]
push edx
push eax
call fcn.0044baab
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x14]
push ecx
push eax
push edx
mov byte [esp + 0x140], 0xd
call fcn.0044f030
push 0x3b
push eax
lea eax, [esp + 0x20]
mov byte [esp + 0x13c], bl
push eax
call fcn.0044baab
push eax
mov ecx, edi
mov byte [esp + 0x138], 0xf
call fcn.0044f1a5
lea ecx, [esp + 0x18]
mov byte [esp + 0x134], bl
call fcn.0044ee01
lea ecx, [esp + 0x14]
mov byte [esp + 0x134], 0xd
call fcn.0044ee01
lea ecx, [esp + 0x10]
mov byte [esp + 0x134], 9
call fcn.0044ee01
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x41a897
mov eax, dword [0x4790e8]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x134], 0x11
call fcn.0042450f
lea ecx, [esp + 0x14]
mov byte [esp + 0x134], 0x12
push ecx
mov ecx, 0x47f818
call fcn.004019c0
push str.System.
lea edx, [esp + 0x1c]
mov bl, 0x13
push eax
push edx
mov byte [esp + 0x140], bl
call fcn.0044f096
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x13c], 0x14
call fcn.004245d2
lea ecx, [esp + 0x18]
mov ebp, eax
mov byte [esp + 0x134], bl
call fcn.0044ee01
lea ecx, [esp + 0x14]
mov byte [esp + 0x134], 0x12
call fcn.0044ee01
test ebp, ebp
je 0x41ab92
mov bl, 0x15
lea ecx, [esp + 0x50]
call fcn.004247f2
lea ecx, [esp + 0x50]
mov dword [esp + 0x28], eax
call fcn.004247b9
test eax, eax
jne 0x41ab86
mov eax, dword [esp + 0x50]
push 0x10
lea ecx, [esp + 0x54]
call dword [eax + 0x38]
test eax, eax
je 0x41ab86
mov ecx, dword [0x4790e8]
mov dword [esp + 0x10], ecx
mov byte [esp + 0x134], bl
mov ebp, 0x47896c
lea edx, [esp + 0x18]
lea ecx, [esp + 0x50]
push edx
call fcn.004248c1
mov ecx, dword [ebp]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x18]
push str._s_s
push eax
mov byte [esp + 0x144], 0x16
call fcn.0044c0b3
add esp, 0x10
lea ecx, [esp + 0x18]
mov byte [esp + 0x134], bl
call fcn.0044ee01
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push 0x47f914
push 0x462ee8
push 0x462edc
push edx
mov ecx, esi
call fcn.0041ad50
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x138], 0x17
call fcn.0044ef3a
lea ecx, [esp + 0x14]
mov byte [esp + 0x134], bl
call fcn.0044ee01
mov eax, dword [esp + 0x38]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x41ab66
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x48]
push ecx
push 0x47f914
push str.ConfigVer
push 0x462edc
push edx
mov ecx, esi
call fcn.0041ad50
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x138], 0x18
call fcn.0044ef3a
lea ecx, [esp + 0x48]
mov byte [esp + 0x134], bl
call fcn.0044ee01
lea eax, [esp + 0x38]
push 0x7c
lea ecx, [esp + 0x28]
push eax
push ecx
call fcn.0044baab
lea edx, [esp + 0x3c]
mov byte [esp + 0x134], 0x19
push edx
push eax
lea eax, [esp + 0x48]
push eax
call fcn.0044f030
push 0x3b
lea ecx, [esp + 0x50]
push eax
push ecx
mov byte [esp + 0x140], 0x1a
call fcn.0044baab
push eax
mov ecx, edi
mov byte [esp + 0x138], 0x1b
call fcn.0044f1a5
lea ecx, [esp + 0x4c]
mov byte [esp + 0x134], 0x1a
call fcn.0044ee01
lea ecx, [esp + 0x40]
mov byte [esp + 0x134], 0x19
call fcn.0044ee01
lea ecx, [esp + 0x24]
mov byte [esp + 0x134], bl
call fcn.0044ee01
add ebp, 4
cmp ebp, str.StockLine.ini
jl 0x41aa14
lea ecx, [esp + 0x10]
mov byte [esp + 0x134], 0x12
call fcn.0044ee01
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x41a9cb
mov ebp, dword [esi + 0x18]
lea edx, [esp + 0x24]
push edx
mov ecx, 0x47f818
call fcn.004019f0
mov eax, dword [eax]
push ebp
push 0x478a48
push 0x462ed0
push eax
lea eax, [esp + 0x38]
mov bl, 0x1c
push eax
mov ecx, esi
mov byte [esp + 0x148], bl
call fcn.0041ad50
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x138], 0x1d
call fcn.0044ef3a
lea ecx, [esp + 0x28]
mov byte [esp + 0x134], bl
call fcn.0044ee01
lea ecx, [esp + 0x24]
mov byte [esp + 0x134], 0x12
call fcn.0044ee01
push 0x462ed0
lea ecx, [esp + 0x44]
call fcn.0044ee6f
push 0x7c
lea ecx, [esp + 0x28]
push eax
push ecx
mov byte [esp + 0x140], 0x1e
call fcn.0044baab
lea edx, [esp + 0x1c]
mov bl, 0x1f
push edx
push eax
lea eax, [esp + 0x30]
mov byte [esp + 0x13c], bl
push eax
call fcn.0044f030
push eax
mov ecx, edi
mov byte [esp + 0x138], 0x20
call fcn.0044f1a5
lea ecx, [esp + 0x28]
mov byte [esp + 0x134], bl
call fcn.0044ee01
lea ecx, [esp + 0x24]
mov byte [esp + 0x134], 0x1e
call fcn.0044ee01
lea ecx, [esp + 0x40]
mov byte [esp + 0x134], 0x12
call fcn.0044ee01
lea ecx, [esp + 0x50]
mov byte [esp + 0x134], 0x11
call fcn.0042454c
lea ecx, [esp + 0x3c]
mov byte [esp + 0x134], 0x10
call fcn.0044ee01
lea ecx, [esp + 0x38]
mov byte [esp + 0x134], 9
call fcn.0044ee01
lea ecx, [esp + 0x1c]
mov byte [esp + 0x134], 8
call fcn.0044ee01
lea ecx, [esp + 0x34]
mov byte [esp + 0x134], 7
call fcn.0044ee01
lea ecx, [esp + 0x20]
mov byte [esp + 0x134], 6
call fcn.0044ee01
mov byte [esp + 0x134], 3
lea ecx, [esp + 0x2c]
call fcn.0044ee01
lea ecx, [esp + 0x6c]
mov byte [esp + 0x134], 2
call fcn.0044d9dc
lea ecx, [esp + 0x30]
mov byte [esp + 0x134], 0
call fcn.0044ee01
lea ecx, [esp + 0x88]
mov dword [esp + 0x134], 0xffffffff
call fcn.0044cad8
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x128
ret 4