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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esp + 0x20], edx
push edi
mov eax, dword [esi + 0x164]
mov dword [esp + 0x28], eax
cmp ebx, dword [esi + 0x90]
jne 0x46a5f9
lea ecx, [esi + 0x124]
lea edi, [esi + 0x120]
mov dword [esp + 0x20], ecx
jmp 0x46a606
mov edi, dword [esi + 0x12c]
lea eax, [edi + 4]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], edi
mov dword [edi], eax
nop
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x10]
push ecx
push dword [ebp + 0x10]
mov dword [esp + 0x18], eax
push eax
mov eax, dword [ebx + 4]
push ebx
call eax
mov edx, dword [esp + 0x30]
add eax, 5
mov ecx, dword [esp + 0x20]
add esp, 0x10
mov dword [edx], ecx
cmp eax, 0x12
ja case.default.0x46a63b
jmp dword [eax*4 + 0x46b108]
mov eax, dword [esp + 0x10]
sub eax, dword [ebx + 0x44]
push eax
mov eax, dword [ebp + 0xc]
add eax, dword [ebx + 0x44]
push eax
mov eax, dword [ebx + 0x30]
push ebx
call eax
add esp, 0xc
mov byte [esp + 0xe], al
test al, al
je 0x46a69f
mov eax, dword [esi + 0x3c]
test eax, eax
je case.default.0x46a63b
push 1
lea ecx, [esp + 0x12]
push ecx
push dword [esi + 4]
call eax
add esp, 0xc
jmp 0x46a740
cmp dword [esi + 0x50], 0
je 0x46a740
push dword [esp + 0x10]
mov edx, ebx
mov ecx, esi
push dword [ebp + 0xc]
call fcn.00466110
add esp, 8
jmp 0x46a740
mov edx, dword [esp + 0x10]
sub edx, dword [ebx + 0x44]
mov eax, dword [ebp + 0xc]
mov edi, dword [esp + 0x28]
add eax, dword [ebx + 0x44]
push edx
push eax
mov edx, ebx
lea ecx, [edi + 0x50]
call fcn.00464df0
add esp, 8
test eax, eax
je 0x46af23
mov eax, dword [edi + 0x5c]
cmp eax, dword [edi + 0x58]
jne 0x46a6df
lea ecx, [edi + 0x50]
call fcn.00464940
test al, al
je 0x46af23
mov eax, dword [edi + 0x5c]
mov byte [eax], 0
mov eax, dword [edi + 0x60]
inc dword [edi + 0x5c]
mov dword [esp + 0x34], eax
test eax, eax
je 0x46af23
push 0
push eax
mov edx, edi
mov ecx, esi
call fcn.00465120
mov edi, eax
add esp, 8
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x81], 0
mov ecx, dword [eax + 0x60]
mov dword [eax + 0x5c], ecx
je 0x46a78e
cmp byte [eax + 0x82], 0
jne 0x46a78e
test edi, edi
jne 0x46a7a0
mov eax, dword [esi + 0x78]
test eax, eax
je 0x46a773
push edi
push dword [esp + 0x38]
push dword [esi + 4]
call eax
add esp, 0xc
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov dword [ebp + 0xc], eax
mov dword [edi], eax
mov eax, dword [esi + 0x1e0]
sub eax, 2
je 0x46b0fa
sub eax, 1
jne 0x46a610
mov ecx, dword [ebp + 0x14]
mov eax, dword [esp + 0x10]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x50], 0
je 0x46a73c
push dword [esp + 0x10]
mov edx, ebx
mov ecx, esi
push dword [ebp + 0xc]
call fcn.00466110
add esp, 8
jmp 0x46a73c
test edi, edi
je 0x46af0e
cmp byte [edi + 0x22], 0
je 0x46af02
cmp byte [edi + 0x20], 0
jne 0x46aef6
cmp dword [edi + 0x1c], 0
jne 0x46aeea
cmp dword [edi + 4], 0
je 0x46a7ee
cmp byte [esi + 0x134], 0
jne 0x46a7d3
mov eax, dword [esi + 0x78]
test eax, eax
je 0x46a773
push 0
push dword [edi]
jmp 0x46a734
push 0
mov edx, edi
mov ecx, esi
call fcn.00466e20
add esp, 4
test eax, eax
jne 0x46b0ff
jmp 0x46a73c
cmp dword [esi + 0x70], 0
je 0x46a773
mov ecx, esi
mov byte [edi + 0x20], 1
call fcn.00465a70
mov byte [edi + 0x20], 0
test eax, eax
je 0x46af23
push dword [edi + 0x18]
push dword [edi + 0x10]
push dword [edi + 0x14]
push eax
push dword [esi + 0x74]
mov eax, dword [esi + 0x70]
call eax
add esp, 0x14
test eax, eax
je 0x46aede
mov eax, dword [esi + 0x1b0]
mov dword [esi + 0x1ac], eax
jmp 0x46a73c
mov edi, dword [esi + 0x170]
mov dword [esp + 0x2c], edi
test edi, edi
je 0x46a855
mov eax, dword [edi]
mov dword [esi + 0x170], eax
jmp 0x46a888
mov eax, dword [esi + 0xc]
push 0x30
call eax
mov edi, eax
mov dword [esp + 0x30], eax
add esp, 4
test edi, edi
je 0x46af23
mov ecx, dword [esi + 0xc]
push 0x20
call ecx
add esp, 4
mov dword [edi + 0x24], eax
test eax, eax
je 0x46af1a
add eax, 0x20
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], 0
lea eax, [edi + 0x2c]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x16c]
mov dword [edi], eax
mov dword [esi + 0x16c], edi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov eax, dword [ebp + 0xc]
add eax, dword [ebx + 0x44]
push eax
mov dword [edi + 4], eax
mov eax, dword [ebx + 0x20]
push ebx
call eax
mov dword [edi + 8], eax
inc dword [esi + 0x138]
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
add ecx, eax
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x24]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x28]
dec eax
mov dword [esp + 0x38], ecx
push eax
lea eax, [esp + 0x24]
push eax
push ecx
lea eax, [esp + 0x30]
push eax
mov eax, dword [ebx + 0x3c]
push ebx
call eax
mov ecx, dword [esp + 0x34]
add esp, 0x1c
mov eax, dword [edi + 0x24]
sub ecx, eax
mov edx, dword [esp + 0x30]
mov dword [esp + 0x34], ecx
cmp dword [esp + 0x1c], edx
je 0x46a979
mov edi, dword [edi + 0x28]
sub edi, eax
add edi, edi
push edi
push eax
mov eax, dword [esi + 0x10]
call eax
mov edx, eax
add esp, 8
test edx, edx
je 0x46af23
mov eax, dword [esp + 0x2c]
lea ecx, [edx + edi]
mov edi, eax
mov dword [eax + 0x24], edx
mov eax, dword [esp + 0x34]
add eax, edx
mov dword [edi + 0x28], ecx
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x28]
dec eax
push eax
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x38]
lea eax, [esp + 0x28]
push eax
mov eax, dword [ebx + 0x3c]
push ebx
call eax
mov ecx, dword [esp + 0x2c]
add esp, 0x14
mov eax, dword [edi + 0x24]
sub ecx, eax
mov edx, dword [esp + 0x30]
mov dword [esp + 0x34], ecx
cmp dword [esp + 0x1c], edx
jne 0x46a912
push dword [esp + 0x38]
mov dword [edi + 0x18], ecx
mov edx, ebx
add edi, 0xc
mov ecx, esi
push edi
mov dword [edi], eax
mov eax, dword [esp + 0x20]
mov byte [eax], 0
push dword [ebp + 0xc]
call fcn.00469c80
add esp, 0xc
test eax, eax
jne 0x46b0ff
mov eax, dword [esi + 0x34]
test eax, eax
je 0x46a9cb
push dword [esi + 0x188]
push dword [edi]
push dword [esi + 4]
call eax
add esp, 0xc
lea ecx, [esi + 0x1a0]
call fcn.00465000
jmp 0x46a73c
cmp dword [esi + 0x50], 0
je 0x46a9e4
push dword [esp + 0x10]
mov edx, ebx
mov ecx, esi
push dword [ebp + 0xc]
call fcn.00466110
add esp, 8
lea ecx, [esi + 0x1a0]
call fcn.00465000
jmp 0x46a73c
mov edi, dword [ebx + 0x44]
add edi, dword [ebp + 0xc]
mov eax, dword [ebx + 0x20]
push edi
push ebx
mov dword [esp + 0x24], 0
mov byte [esp + 0x17], 1
call eax
add eax, edi
mov edx, ebx
push eax
push edi
lea edi, [esi + 0x1a0]
mov ecx, edi
call fcn.00464df0
add esp, 0x10
test eax, eax
je 0x46af2f
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 8]
jne 0x46aa43
mov ecx, edi
call fcn.00464940
test al, al
je 0x46af2f
mov eax, dword [edi + 0xc]
mov byte [eax], 0
mov eax, dword [edi + 0x10]
inc dword [edi + 0xc]
mov dword [esp + 0x40], eax
test eax, eax
je 0x46af23
mov eax, dword [esi + 0x1ac]
mov edx, ebx
mov dword [esi + 0x1b0], eax
mov ecx, esi
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x44]
push eax
push dword [ebp + 0xc]
call fcn.00469c80
add esp, 0xc
test eax, eax
jne 0x46b0ff
mov eax, dword [esi + 0x1ac]
mov dword [esi + 0x1b0], eax
mov eax, dword [esi + 0x34]
test eax, eax
je 0x46aab1
push dword [esi + 0x188]
push dword [esp + 0x44]
push dword [esi + 4]
call eax
add esp, 0xc
xor al, al
jmp 0x46aab5
mov al, byte [esp + 0xf]
cmp dword [esi + 0x38], 0
je 0x46aadb
cmp dword [esi + 0x34], 0
je 0x46aacd
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov eax, dword [eax]
mov dword [ecx], eax
push dword [esp + 0x40]
mov eax, dword [esi + 0x38]
push dword [esi + 4]
call eax
jmp 0x46aaf5
test al, al
je 0x46aaf8
cmp dword [esi + 0x50], 0
je 0x46aaf8
push dword [esp + 0x10]
mov edx, ebx
mov ecx, esi
push dword [ebp + 0xc]
call fcn.00466110
add esp, 8
mov ecx, edi
call fcn.00465000
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x46ab46
mov ecx, dword [esi + 0x68]
mov edi, eax
test ecx, ecx
je 0x46ab20
mov eax, dword [eax]
push dword [eax]
push dword [esi + 4]
call ecx
mov eax, dword [esp + 0x24]
add esp, 8
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x178]
mov dword [edi + 4], eax
mov dword [esi + 0x178], edi
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x46ab07
cmp dword [esi + 0x138], 0
jne 0x46a73c
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [esp + 0x18]
push esi
call fcn.00466f60
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x24]
cmp dword [esi + 0x138], eax
je 0x46afe6
mov edi, dword [esi + 0x16c]
mov dword [esp + 0x34], edi
mov eax, dword [edi]
mov dword [esi + 0x16c], eax
mov eax, dword [esi + 0x170]
mov dword [edi], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x170], edi
mov ecx, dword [ebx + 0x44]
lea eax, [eax + ecx*2]
push eax
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x20]
push ebx
call eax
add esp, 8
cmp eax, dword [edi + 8]
jne 0x46af43
mov ecx, dword [edi + 4]
sub eax, 4
mov edx, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
jb 0x46abe9
lea ecx, [ecx]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x46abee
mov eax, dword [esp + 0x1c]
add ecx, 4
add edx, 4
sub eax, 4
mov dword [esp + 0x1c], eax
jae 0x46abd0
cmp eax, 0xfffffffc
je 0x46ac31
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x46af43
cmp dword [esp + 0x1c], 0xfffffffd
je 0x46ac31
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x46af43
cmp dword [esp + 0x1c], 0xfffffffe
je 0x46ac31
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x46af43
cmp dword [esp + 0x1c], 0xffffffff
je 0x46ac31
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x46af43
dec dword [esi + 0x138]
cmp dword [esi + 0x38], 0
je 0x46acac
cmp byte [esi + 0xec], 0
mov eax, dword [edi + 0x10]
je 0x46ac9f
test eax, eax
je 0x46ac9f
mov ecx, dword [edi + 0x1c]
mov dl, byte [eax]
add ecx, dword [edi + 0xc]
test dl, dl
je 0x46ac6c
lea esp, [esp]
mov byte [ecx], dl
lea eax, [eax + 1]
mov dl, byte [eax]
inc ecx
test dl, dl
jne 0x46ac60
cmp byte [esi + 0xed], 0
mov edx, dword [edi + 0x14]
je 0x46ac9c
test edx, edx
je 0x46ac9c
mov al, byte [esi + 0x1d8]
mov byte [ecx], al
inc ecx
mov al, byte [edx]
test al, al
je 0x46ac9c
jmp 0x46ac90
mov byte [ecx], al
lea edx, [edx + 1]
mov al, byte [edx]
inc ecx
test al, al
jne 0x46ac90
mov byte [ecx], 0
push dword [edi + 0xc]
mov eax, dword [esi + 0x38]
push dword [esi + 4]
call eax
jmp 0x46acc2
cmp dword [esi + 0x50], 0
je 0x46acc5
push dword [esp + 0x10]
mov edx, ebx
mov ecx, esi
push dword [ebp + 0xc]
call fcn.00466110
add esp, 8
mov edx, edi
mov edi, dword [edx + 0x2c]
test edi, edi
je 0x46ad0e
mov edi, edi
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x46ace7
mov eax, dword [edi]
push dword [eax]
push dword [esi + 4]
call ecx
mov edx, dword [esp + 0x3c]
add esp, 8
mov eax, dword [edx + 0x2c]
mov eax, dword [eax + 4]
mov dword [edx + 0x2c], eax
mov eax, dword [esi + 0x178]
mov dword [edi + 4], eax
mov dword [esi + 0x178], edi
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [ecx + 4], eax
mov edi, dword [edx + 0x2c]
test edi, edi
jne 0x46acd0
cmp dword [esi + 0x138], 0
je 0x46ab53
jmp 0x46a73c
push dword [ebp + 0xc]
mov eax, dword [ebx + 0x2c]
push ebx
call eax
add esp, 8
test eax, eax
js 0x46af59
mov edi, dword [esi + 0x3c]
test edi, edi
je 0x46a773
lea edx, [esp + 0x3c]
mov ecx, eax
call fcn.00479450
push eax
mov eax, edx
push eax
push dword [esi + 4]
call edi
jmp 0x46a739
mov eax, dword [esi + 0x3c]
test eax, eax
je case.default.0x46a63b
push 1
lea ecx, [esp + 0x13]
mov byte [esp + 0x13], 0xa
push ecx
push dword [esi + 4]
call eax
add esp, 0xc
jmp 0x46a740
mov eax, dword [esi + 0x48]
test eax, eax
je 0x46ad8d
push dword [esi + 4]
call eax
add esp, 4
jmp 0x46ada6
cmp dword [esi + 0x50], 0
je 0x46ada6
push dword [esp + 0x10]
mov edx, ebx
mov ecx, esi
push dword [ebp + 0xc]
call fcn.00466110
add esp, 8
push dword [ebp + 0x18]
lea eax, [esp + 0x14]
mov edx, ebx
push dword [ebp + 0x14]
mov ecx, esi
push dword [ebp + 0x10]
push eax
call fcn.00469700
add esp, 0x10
test eax, eax
jne 0x46b0ff
cmp dword [esp + 0x10], eax
jne 0x46a740
mov dword [esi + 0x118], 0x4699b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [esi + 0x3c]
test edi, edi
je 0x46a773
cmp byte [ebx + 0x48], 0
jne 0x46ae91
push dword [esi + 0x30]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x18]
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebx + 0x3c]
push ebx
call eax
mov ecx, dword [esp + 0x34]
add esp, 0x14
mov eax, dword [ebp + 0xc]
mov dword [ecx], eax
mov ecx, dword [esi + 0x2c]
mov eax, dword [esp + 0x1c]
sub eax, ecx
push eax
push ecx
push dword [esi + 4]
call edi
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp eax, dword [esp + 0x10]
je 0x46a73c
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
push dword [esi + 0x30]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x18]
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebx + 0x3c]
push ebx
call eax
mov ecx, dword [esp + 0x34]
add esp, 0x14
mov eax, dword [ebp + 0xc]
mov dword [ecx], eax
mov ecx, dword [esi + 0x2c]
mov eax, dword [esp + 0x1c]
sub eax, ecx
push eax
push ecx
push dword [esi + 4]
call edi
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp eax, dword [esp + 0x10]
jne 0x46ae41
jmp 0x46a73c
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0xc]
sub eax, ecx
push eax
push ecx
push dword [esi + 4]
call edi
jmp 0x46a739
push dword [esp + 0x10]
mov edx, ebx
mov ecx, esi
push dword [ebp + 0xc]
call fcn.00466260
add esp, 8
test eax, eax
je 0x46af23
jmp 0x46a740
push dword [esp + 0x10]
mov edx, ebx
mov ecx, esi
push dword [ebp + 0xc]
call fcn.004661b0
add esp, 8
test eax, eax
je 0x46af23
jmp 0x46a740
mov eax, 0x15
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xf
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x14]
push edi
call eax
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x40], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
mov dword [ecx], eax
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xe
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 0x18], 0
jne 0x46b01c
mov ecx, dword [ebp + 0x10]
mov dword [edx], ecx
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x46af91
push 1
lea ecx, [esp + 0x13]
mov byte [esp + 0x13], 0xa
push ecx
push dword [esi + 4]
call eax
add esp, 0xc
jmp 0x46afa7
cmp dword [esi + 0x50], 0
je 0x46afaa
push ecx
push dword [ebp + 0xc]
mov edx, ebx
mov ecx, esi
call fcn.00466110
add esp, 8
mov ecx, dword [ebp + 0x10]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x46b0ca
cmp dword [esi + 0x138], eax
jne 0x46afe6
mov eax, dword [ebp + 0x14]
mov dword [eax], ecx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 0x18], 0
jne 0x46b01c
mov eax, dword [esp + 0x24]
test eax, eax
jle 0x46b0ca
cmp dword [esi + 0x138], eax
je 0x46b01c
mov eax, 0xd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x10]
mov dword [edi], eax
mov eax, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 0x18], 0
jne 0x46b01c
mov eax, 5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 0x18], 0
je 0x46b02d
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x11
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 0x18], 0
jne 0x46b01c
mov edx, dword [esi + 0x3c]
test edx, edx
je 0x46b0a5
cmp byte [ebx + 0x48], 0
jne 0x46b08f
push dword [esi + 0x30]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x38]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebx + 0x3c]
push ebx
call eax
mov ecx, dword [esi + 0x2c]
add esp, 0x14
mov eax, dword [esp + 0x34]
sub eax, ecx
push eax
mov eax, dword [esi + 0x3c]
push ecx
push dword [esi + 4]
call eax
add esp, 0xc
jmp 0x46b0bd
mov ebx, dword [ebp + 0x10]
mov eax, ebx
mov ecx, dword [ebp + 0xc]
sub eax, ecx
push eax
push ecx
push dword [esi + 4]
call edx
add esp, 0xc
jmp 0x46b0c0
cmp dword [esi + 0x50], 0
je 0x46b0bd
push dword [ebp + 0x10]
mov edx, ebx
mov ecx, esi
push dword [ebp + 0xc]
call fcn.00466110
add esp, 8
mov ebx, dword [ebp + 0x10]
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x46b0d6
mov dword [edi], ebx
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x138], eax
je 0x46b0ec
mov dword [edi], ebx
mov eax, 0xd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x23
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret