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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff80
mov edi, dword [esp + 0x98]
mov eax, dword [esp + 0x94]
mov edx, dword [eax + 0x1c]
mov ebp, dword [edx + 0x28]
test ebp, ebp
je 0x418260
push edi
mov eax, dword [eax + 0x18]
push eax
call ebp
pop ecx
pop ecx
jmp 0x418a0b
mov eax, dword [esp + 0x94]
cmp dword [eax + 0x18], 0
je 0x418a0b
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
xor ebx, ebx
mov esi, edi
test edi, edi
je 0x4187ac
lea eax, [eax]
xor ebp, ebp
mov edx, dword [esi + 8]
jmp 0x4182b1
mov eax, dword [esi + 4]
cmp byte [eax + ebp], 0x21
je 0x4182b5
inc ebp
cmp ebp, edx
jl 0x4182a7
push ebp
mov eax, dword [esi + 4]
push eax
lea ecx, [esp + 0xc]
call fcn.0040bb00
mov ecx, dword [esi + 8]
sub ecx, ebp
dec ecx
push ecx
mov eax, dword [esi + 4]
add eax, ebp
inc eax
push eax
lea ecx, [esp + 0x10]
call fcn.0040bb00
mov edi, dword [esi + 0x10]
push edi
mov eax, dword [esi + 0xc]
push eax
lea ecx, [esp + 0x14]
call fcn.0040bb00
cmp dword [esi + 0x14], 0
je 0x418550
mov dword [esp + 0x18], 0
push 0x4c369f
call fcn.0040ca30
pop ecx
push eax
push 0x4c369f
lea ecx, [esp + 0x20]
call fcn.0040bb00
cmp dword [esp + 0x18], 0
je 0x41832a
mov edx, dword [esp + 0x18]
mov eax, dword [0x4bf2dc]
mov dword [edx + 0x10], eax
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x24]
push eax
call fcn.0040c300
add esp, 0xc
mov dword [esp + 0x20], 0
push 0x4c36a1
call fcn.0040ca30
pop ecx
push eax
push 0x4c36a1
lea ecx, [esp + 0x28]
call fcn.0040bb00
cmp dword [esp + 0x20], 0
je 0x418376
mov edi, dword [esp + 0x20]
mov eax, dword [0x4bf2dc]
mov dword [edi + 0x10], eax
lea eax, [esp + 0x20]
push eax
lea ebp, [esp + 0x20]
push ebp
lea eax, [esp + 0x2c]
push eax
call fcn.0040c300
add esp, 0xc
mov eax, dword [esi + 0x14]
mov dword [esp + 0x28], eax
test eax, eax
je 0x41839f
mov ecx, eax
call fcn.0040b9a0
mov dword [esp + 0x2c], 0
push 0x4c36a7
call fcn.0040ca30
pop ecx
push eax
push 0x4c36a7
lea ecx, [esp + 0x34]
call fcn.0040bb00
cmp dword [esp + 0x2c], 0
je 0x4183d4
mov edx, dword [esp + 0x2c]
mov eax, dword [0x4bf2dc]
mov dword [edx + 0x10], eax
mov dword [esp + 0x30], 0
push 0x4c36a9
call fcn.0040ca30
pop ecx
push eax
push 0x4c36a9
lea ecx, [esp + 0x38]
call fcn.0040bb00
cmp dword [esp + 0x30], 0
je 0x418409
mov ecx, dword [esp + 0x30]
mov eax, dword [0x4bf2dc]
mov dword [ecx + 0x10], eax
lea edi, [esp + 0x30]
push edi
lea eax, [esp + 0x30]
push eax
lea ebp, [esp + 0x30]
push ebp
lea eax, [esp + 0x40]
push eax
call fcn.0043ff70
add esp, 0x10
lea eax, [esp + 0x34]
push eax
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x40]
push eax
call fcn.0040c300
add esp, 0xc
mov dword [esp + 0x3c], 0
push 0x4c36a7
call fcn.0040ca30
pop ecx
push eax
push 0x4c36a7
lea ecx, [esp + 0x44]
call fcn.0040bb00
cmp dword [esp + 0x3c], 0
je 0x418471
mov ecx, dword [esp + 0x3c]
mov eax, dword [0x4bf2dc]
mov dword [ecx + 0x10], eax
lea eax, [esp + 0x3c]
push eax
lea edi, [esp + 0x3c]
push edi
lea eax, [esp + 0x48]
push eax
call fcn.0040c300
add esp, 0xc
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x14]
call fcn.0040bbd0
cmp dword [esp + 0x40], 0
je 0x4184a6
mov ecx, dword [esp + 0x40]
call fcn.0040b9e0
cmp dword [esp + 0x3c], 0
je 0x4184b6
mov ecx, dword [esp + 0x3c]
call fcn.0040b9e0
cmp dword [esp + 0x38], 0
je 0x4184c6
mov ecx, dword [esp + 0x38]
call fcn.0040b9e0
cmp dword [esp + 0x34], 0
je 0x4184d6
mov ecx, dword [esp + 0x34]
call fcn.0040b9e0
cmp dword [esp + 0x30], 0
je 0x4184e6
mov ecx, dword [esp + 0x30]
call fcn.0040b9e0
cmp dword [esp + 0x2c], 0
je 0x4184f6
mov ecx, dword [esp + 0x2c]
call fcn.0040b9e0
cmp dword [esp + 0x28], 0
je 0x418506
mov ecx, dword [esp + 0x28]
call fcn.0040b9e0
cmp dword [esp + 0x24], 0
je 0x418516
mov ecx, dword [esp + 0x24]
call fcn.0040b9e0
cmp dword [esp + 0x20], 0
je 0x418526
mov ecx, dword [esp + 0x20]
call fcn.0040b9e0
cmp dword [esp + 0x1c], 0
je 0x418536
mov ecx, dword [esp + 0x1c]
call fcn.0040b9e0
cmp dword [esp + 0x18], 0
je 0x418636
mov ecx, dword [esp + 0x18]
jmp 0x418631
mov dword [esp + 0x44], 0
push 0x4c369f
call fcn.0040ca30
pop ecx
push eax
push 0x4c369f
lea ecx, [esp + 0x4c]
call fcn.0040bb00
cmp dword [esp + 0x44], 0
je 0x418585
mov ebp, dword [esp + 0x44]
mov eax, dword [0x4bf2dc]
mov dword [ebp + 0x10], eax
lea eax, [esp + 8]
push eax
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x50]
push eax
call fcn.0040c300
add esp, 0xc
mov dword [esp + 0x4c], 0
push str.___NULL
call fcn.0040ca30
pop ecx
push eax
push str.___NULL
lea ecx, [esp + 0x54]
call fcn.0040bb00
cmp dword [esp + 0x4c], 0
je 0x4185d1
mov ecx, dword [esp + 0x4c]
mov eax, dword [0x4bf2dc]
mov dword [ecx + 0x10], eax
lea eax, [esp + 0x4c]
push eax
lea edi, [esp + 0x4c]
push edi
lea eax, [esp + 0x58]
push eax
call fcn.0040c300
add esp, 0xc
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x14]
call fcn.0040bbd0
cmp dword [esp + 0x50], 0
je 0x418606
mov ecx, dword [esp + 0x50]
call fcn.0040b9e0
cmp dword [esp + 0x4c], 0
je 0x418616
mov ecx, dword [esp + 0x4c]
call fcn.0040b9e0
cmp dword [esp + 0x48], 0
je 0x418626
mov ecx, dword [esp + 0x48]
call fcn.0040b9e0
cmp dword [esp + 0x44], 0
je 0x418636
mov ecx, dword [esp + 0x44]
call fcn.0040b9e0
mov edi, ebx
test ebx, ebx
je 0x4186a9
lea eax, [eax]
cmp dword [esp + 4], 0
je 0x418650
mov eax, dword [esp + 4]
mov edx, dword [eax + 0xc]
jmp 0x418652
xor edx, edx
mov eax, dword [edi + 4]
test eax, eax
je 0x418660
mov ebp, dword [eax + 0xc]
jmp 0x418662
xor ebp, ebp
push edx
lea ecx, [esp + 8]
call fcn.0040bbb0
push eax
push ebp
lea ecx, [edi + 4]
call fcn.0040bbb0
push eax
call fcn.0040cb30
add esp, 0x10
test eax, eax
jne 0x418687
mov al, 1
jmp 0x418689
xor al, al
test al, al
je 0x4186a3
lea ecx, [esp + 0xc]
call fcn.0040bb90
push eax
lea ecx, [edi + 0xc]
call fcn.0040c510
test eax, eax
je 0x4186a9
mov edi, dword [edi]
test edi, edi
jne 0x418640
test edi, edi
je 0x418754
mov dword [esp + 0x54], 0
push 0x4c36b5
call fcn.0040ca30
pop ecx
push eax
push 0x4c36b5
lea ecx, [esp + 0x5c]
call fcn.0040bb00
cmp dword [esp + 0x54], 0
je 0x4186e6
mov ebp, dword [esp + 0x54]
mov eax, dword [0x4bf2dc]
mov dword [ebp + 0x10], eax
lea eax, [esp + 0x54]
push eax
lea edx, [edi + 8]
push edx
lea eax, [esp + 0x60]
push eax
call fcn.0040c300
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x5c]
push ecx
lea eax, [esp + 0x64]
push eax
call fcn.0040c300
add esp, 0xc
lea eax, [esp + 0x5c]
push eax
add edi, 8
mov ecx, edi
call fcn.0040bbd0
cmp dword [esp + 0x5c], 0
je 0x418732
mov ecx, dword [esp + 0x5c]
call fcn.0040b9e0
cmp dword [esp + 0x58], 0
je 0x418742
mov ecx, dword [esp + 0x58]
call fcn.0040b9e0
cmp dword [esp + 0x54], 0
je 0x4187a2
mov ecx, dword [esp + 0x54]
call fcn.0040b9e0
jmp 0x4187a2
push 0x10
call fcn.004496d0
pop ecx
mov edi, eax
test edi, edi
je 0x418777
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
lea eax, [esp + 4]
push eax
lea ecx, [edi + 4]
call fcn.0040bbd0
lea eax, [esp + 0x10]
push eax
lea ecx, [edi + 8]
call fcn.0040bbd0
lea eax, [esp + 0xc]
push eax
lea ecx, [edi + 0xc]
call fcn.0040bbd0
mov dword [edi], ebx
mov ebx, edi
mov esi, dword [esi]
test esi, esi
jne 0x4182a0
mov edi, ebx
test ebx, ebx
je 0x41898e
mov dword [esp + 0x14], 0
mov dword [esp + 0x60], 0
push str.UPDATE__
call fcn.0040ca30
pop ecx
push eax
push str.UPDATE__
lea ecx, [esp + 0x68]
call fcn.0040bb00
cmp dword [esp + 0x60], 0
je 0x4187f3
mov edx, dword [esp + 0x60]
mov eax, dword [0x4bf2dc]
mov dword [edx + 0x10], eax
lea eax, [edi + 4]
push eax
lea ebp, [esp + 0x64]
push ebp
lea eax, [esp + 0x6c]
push eax
call fcn.0040c300
add esp, 0xc
mov dword [esp + 0x68], 0
push str.__SET
call fcn.0040ca30
pop ecx
push eax
push str.__SET
lea ecx, [esp + 0x70]
call fcn.0040bb00
cmp dword [esp + 0x68], 0
je 0x41883e
mov ecx, dword [esp + 0x68]
mov eax, dword [0x4bf2dc]
mov dword [ecx + 0x10], eax
lea eax, [esp + 0x68]
push eax
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0x74]
push eax
call fcn.0040c300
add esp, 0xc
lea eax, [edi + 8]
push eax
lea esi, [esp + 0x70]
push esi
lea eax, [esp + 0x78]
push eax
call fcn.0040c300
add esp, 0xc
mov dword [esp + 0x74], 0
push str._WHERE
call fcn.0040ca30
pop ecx
push eax
push str._WHERE
lea ecx, [esp + 0x7c]
call fcn.0040bb00
cmp dword [esp + 0x74], 0
je 0x4188a0
mov ebp, dword [esp + 0x74]
mov eax, dword [0x4bf2dc]
mov dword [ebp + 0x10], eax
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x74]
push ecx
lea eax, [esp + 0x80]
push eax
call fcn.0040c300
add esp, 0xc
lea eax, [edi + 0xc]
push eax
lea edx, [esp + 0x7c]
push edx
lea eax, [esp + 0x84]
push eax
call fcn.0040c300
add esp, 0xc
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x18]
call fcn.0040bbd0
cmp dword [esp + 0x7c], 0
je 0x4188f1
mov ecx, dword [esp + 0x7c]
call fcn.0040b9e0
cmp dword [esp + 0x78], 0
je 0x418901
mov ecx, dword [esp + 0x78]
call fcn.0040b9e0
cmp dword [esp + 0x74], 0
je 0x418911
mov ecx, dword [esp + 0x74]
call fcn.0040b9e0
cmp dword [esp + 0x70], 0
je 0x418921
mov ecx, dword [esp + 0x70]
call fcn.0040b9e0
cmp dword [esp + 0x6c], 0
je 0x418931
mov ecx, dword [esp + 0x6c]
call fcn.0040b9e0
cmp dword [esp + 0x68], 0
je 0x418941
mov ecx, dword [esp + 0x68]
call fcn.0040b9e0
cmp dword [esp + 0x64], 0
je 0x418951
mov ecx, dword [esp + 0x64]
call fcn.0040b9e0
cmp dword [esp + 0x60], 0
je 0x418961
mov ecx, dword [esp + 0x60]
call fcn.0040b9e0
mov eax, dword [esp + 0x14]
push eax
push dword [esp + 0x98]
call fcn.0045b6b0
pop ecx
pop ecx
cmp dword [esp + 0x14], 0
je 0x418984
mov ecx, dword [esp + 0x14]
call fcn.0040b9e0
mov edi, dword [edi]
test edi, edi
jne 0x4187b6
mov esi, ebx
test esi, esi
je 0x4189cb
mov ebx, dword [ebx]
test esi, esi
je 0x4189c5
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x4189a6
call fcn.0040b9e0
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4189b2
call fcn.0040b9e0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4189be
call fcn.0040b9e0
push esi
call fcn.004496f0
pop ecx
mov esi, ebx
test esi, esi
jne 0x418994
cmp dword [esp + 0x10], 0
je 0x4189db
mov ecx, dword [esp + 0x10]
call fcn.0040b9e0
cmp dword [esp + 0xc], 0
je 0x4189eb
mov ecx, dword [esp + 0xc]
call fcn.0040b9e0
cmp dword [esp + 8], 0
je 0x4189fb
mov ecx, dword [esp + 8]
call fcn.0040b9e0
cmp dword [esp + 4], 0
je 0x418a0b
mov ecx, dword [esp + 4]
call fcn.0040b9e0
sub esp, 0xffffff80
pop ebp
pop edi
pop esi
pop ebx
ret