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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2cc
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x60], 3
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x78], 0xffffffff
mov dword [ebp - 0x5c], 0
push 0x14
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x74]
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x68]
cmp dword [eax + 0xc], 0xffffffff
je 0x475205
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x68]
cmp dword [edx + 0x10], 0
jg 0x475200
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.00465d80
add esp, 8
test eax, eax
jle 0x475205
jmp 0x475d84
cmp dword [0x4db70c], 0xffffffff
jne 0x475224
push str.LM_PROJECT
mov ecx, dword [ebp + 8]
push ecx
call fcn.004677b2
add esp, 8
mov dword [0x4db70c], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x68]
mov dword [eax + 0x18], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x68]
mov dword [edx + 0x38], 3
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x68]
mov dword [ecx + 0x34], 1
cmp dword [ebp + 0x10], 0
je 0x475253
jmp 0x475289
push 0x40
mov edx, dword [ebp + 0x14]
push edx
lea eax, [ebp - 0x50]
push eax
call fcn.00466a7d
add esp, 0xc
lea ecx, [ebp - 0x50]
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp + 0x14]
movsx eax, byte [edx + 0x68]
and eax, 2
test eax, eax
je 0x475282
mov dword [ebp - 0x5c], 1
jmp 0x475289
mov dword [ebp - 0x5c], 0
push 0x40
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x150]
push edx
call fcn.00466a7d
add esp, 0xc
cmp dword [ebp - 0x58], 0
jne 0x47577a
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x1e8], eax
mov byte [ebp - 0x1e4], 0
cmp dword [ebp - 0x54], 2
jne 0x4752ee
push str.DEBUG_CONNECT_TO_VD
mov ecx, dword [ebp + 8]
push ecx
call fcn.004677b2
add esp, 8
test eax, eax
jne 0x4752ee
cmp dword [ebp - 4], 0
jne 0x4752ee
mov dword [ebp - 0x1e8], 1
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1e8]
mov dword [edx], eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp - 0x1e8]
push edx
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0048caa0
add esp, 0x14
lea eax, [ebp - 0x1e4]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0048c1a0
add esp, 0x14
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x47576e
mov edx, dword [ebp + 8]
cmp dword [edx + 0x14], 0xfffffff1
je 0x475367
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xffffffa0
je 0x475367
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 0xfffffff0
je 0x475367
mov edx, dword [ebp + 8]
cmp dword [edx + 0x14], 0xfffffff2
jne 0x475519
cmp dword [ebp - 4], 2
jne 0x4753e5
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
push str._s_:__s
lea edx, [ebp - 0x238]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0
je 0x4753aa
mov ecx, 1
test ecx, ecx
je 0x4753aa
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x2b4], eax
jmp 0x4753b4
mov dword [ebp - 0x2b4], 0xffffff9f
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x2b4]
mov dword [ecx + 0x14], edx
push 0
push 0xff
lea eax, [ebp - 0x238]
push eax
push 0
push 0x17c
push 0xffffffffffffff9f
mov ecx, dword [ebp + 8]
push ecx
call fcn.00463180
add esp, 0x1c
jmp 0x475463
cmp dword [ebp - 4], 1
jne 0x47540c
mov dword [ebp - 4], 2
push 0x40
lea edx, [ebp - 0x150]
push edx
lea eax, [ebp - 0x50]
push eax
call fcn.00466a7d
add esp, 0xc
jmp 0x47529e
cmp dword [ebp - 0x5c], 0
je 0x475463
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 0
je 0x47542f
xor edx, edx
test edx, edx
je 0x47542f
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x2b8], ecx
jmp 0x475439
mov dword [ebp - 0x2b8], 0xffffffa1
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x2b8]
mov dword [edx + 0x14], eax
push 0
push 0xff
push 0
push 0
push 0x17a
push 0xffffffffffffffa1
mov ecx, dword [ebp + 8]
push ecx
call fcn.00463180
add esp, 0x1c
cmp dword [ebp + 0x14], 0
je 0x4754e7
mov edx, dword [ebp + 0x14]
cmp dword [edx + 0x48], 0
je 0x4754e7
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x48]
mov dword [ebp + 0x14], ecx
mov dword [ebp - 4], 0
push 0x40
mov edx, dword [ebp + 0x14]
push edx
lea eax, [ebp - 0x50]
push eax
call fcn.00466a7d
add esp, 0xc
mov ecx, dword [ebp + 0x14]
movsx edx, byte [ecx + 0x68]
and edx, 2
test edx, edx
je 0x4754ab
mov dword [ebp - 0x5c], 1
jmp 0x4754b2
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00474ed2
add esp, 0x14
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0xffffffff
jne 0x4754e2
jmp 0x475d84
jmp 0x47529e
push 0x14
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x74]
push eax
call sub.MSVCRT.dll_memcmp
add esp, 0xc
test eax, eax
je 0x475514
push 0x14
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x74]
push edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
jmp 0x47529e
jmp 0x475d84
movsx eax, byte [ebp - 0x1e4]
cmp eax, 0x41
jne 0x475693
cmp dword [ebp + 0x14], 0
je 0x475693
mov dword [ebp - 4], 1
movsx ecx, byte [ebp - 0x1e2]
test ecx, ecx
je 0x475571
push 0x20
lea edx, [ebp - 0x1e2]
push edx
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
push 0x20
lea ecx, [ebp - 0x1b6]
push ecx
lea edx, [ebp - 0x30]
push edx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x6c]
mov eax, dword [edx + 0x38c]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x6c]
mov eax, dword [edx + 0x394]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x6c]
mov eax, dword [edx + 0x390]
push eax
lea ecx, [ebp - 0x1e4]
push ecx
call fcn.00475d8b
add esp, 0x14
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0xffffffff
jne 0x475686
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0x48]
mov dword [ebp + 0x14], eax
cmp dword [ebp + 0x14], 0
jne 0x475623
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 0
je 0x4755ed
mov edx, 1
test edx, edx
je 0x4755ed
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x2bc], ecx
jmp 0x4755f7
mov dword [ebp - 0x2bc], 0xfffffff1
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x2bc]
mov dword [edx + 0x14], eax
push 0
push 0xff
push 0
push 0
push 0x1c
push 0xfffffffffffffff1
mov ecx, dword [ebp + 8]
push ecx
call fcn.00463180
add esp, 0x1c
jmp 0x47577a
push 0x40
mov edx, dword [ebp + 0x14]
push edx
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00474ed2
add esp, 0x14
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x244], 0xffffffff
jne 0x475666
jmp 0x475d84
mov eax, dword [ebp + 0x14]
movsx ecx, byte [eax + 0x68]
and ecx, 2
test ecx, ecx
je 0x47567d
mov dword [ebp - 0x5c], 1
jmp 0x475684
mov dword [ebp - 0x5c], 0
jmp 0x47568e
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov dword [ebp - 0x54], eax
jmp 0x47576c
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x6c]
mov eax, dword [edx + 0x3a8]
and eax, 8
test eax, eax
je 0x47576a
cmp dword [ebp - 8], 0
je 0x47576a
mov ecx, dword [ebp - 8]
mov dword [ebp + 0x14], ecx
cmp dword [ebp - 4], 0
jne 0x475721
push 0x40
mov edx, dword [ebp + 0x14]
push edx
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00474ed2
add esp, 0x14
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0xffffffff
jne 0x475703
jmp 0x475d84
mov eax, dword [ebp + 0x14]
movsx ecx, byte [eax + 0x68]
and ecx, 2
test ecx, ecx
je 0x47571a
mov dword [ebp - 0x5c], 1
jmp 0x475721
mov dword [ebp - 0x5c], 0
mov edx, dword [ebp - 0x60]
sub edx, 1
mov dword [ebp - 0x60], edx
cmp dword [ebp - 0x60], 3
jne 0x475737
mov dword [ebp - 0x60], 1
cmp dword [ebp - 0x60], 0
jl 0x475766
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x68]
mov edx, dword [ebp - 0x60]
mov dword [ecx + 0x38], edx
push 1
push 1
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0048caa0
add esp, 0x14
jmp 0x475768
jmp 0x47577a
jmp 0x47576c
jmp 0x47577a
jmp 0x475775
mov dword [ebp - 0x58], 1
jmp 0x47529e
movsx eax, byte [ebp - 0x1e4]
cmp eax, 0x4f
jne 0x475cbe
mov dword [ebp - 0x24c], 1
lea ecx, [ebp - 0x24c]
push ecx
push 0x8004667e
mov edx, dword [ebp - 0xc]
push edx
call fcn.00469096
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cx, word [eax + 0x5c]
and ecx, 0x100
test ecx, ecx
jne 0x47580a
mov edx, dword [ebp + 8]
cmp dword [edx + 0x14], 0
je 0x4757d9
xor eax, eax
test eax, eax
je 0x4757d9
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x2c0], edx
jmp 0x4757e3
mov dword [ebp - 0x2c0], 0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x2c0]
mov dword [eax + 0x14], ecx
push 0
push 0xff
push 0
push 0
push 0x1d
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.00463180
add esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x68]
mov edx, dword [ebp - 0xc]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp + 8]
push eax
call fcn.00472560
add esp, 4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x68]
mov eax, dword [edx + 0x14]
add eax, 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x68]
mov dword [edx + 0x14], eax
movsx eax, byte [ebp - 0x1e2]
test eax, eax
jne 0x47586b
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x68]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x68]
mov edx, dword [edx + 0x34]
mov dword [ecx + 0x2c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x68]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x68]
mov ecx, dword [ecx + 0x38]
mov dword [eax + 0x30], ecx
jmp 0x475903
mov dword [ebp - 0x250], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x68]
add eax, 0x2c
push eax
lea ecx, [ebp - 0x1cb]
push ecx
call fcn.00466a11
add esp, 8
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x68]
add eax, 0x30
push eax
lea ecx, [ebp - 0x1c0]
push ecx
call fcn.00466a11
add esp, 8
lea edx, [ebp - 0x250]
push edx
lea eax, [ebp - 0x1e2]
push eax
call fcn.00466a11
add esp, 8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x68]
mov al, byte [ebp - 0x250]
mov byte [edx + 0x4c], al
lea ecx, [ebp - 0x250]
push ecx
lea edx, [ebp - 0x1d7]
push edx
call fcn.00466a11
add esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x68]
mov dl, byte [ebp - 0x250]
mov byte [ecx + 0x4d], dl
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x68]
movsx dx, byte [ebp - 0x1cc]
mov word [ecx + 0x3c], dx
cmp dword [ebp + 0x14], 0
je 0x475a8e
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x414]
mov dword [ebp - 0x258], ecx
jmp 0x47592c
mov edx, dword [ebp - 0x258]
mov eax, dword [edx]
mov dword [ebp - 0x258], eax
cmp dword [ebp - 0x258], 0
je 0x475967
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 4]
push eax
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
jne 0x475965
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 4]
mov eax, dword [ebp + 0x14]
mov ecx, dword [edx + 0x50]
cmp ecx, dword [eax + 0x50]
jne 0x475965
jmp 0x475967
jmp 0x47591e
cmp dword [ebp - 0x258], 0
je 0x475987
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x68]
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 4]
mov dword [eax + 0x18], edx
jmp 0x475a8c
mov dword [ebp - 0x25c], 0
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x254], eax
jmp 0x4759ba
mov ecx, dword [ebp - 0x254]
mov edx, dword [ecx + 0x48]
mov dword [ebp - 0x254], edx
mov eax, dword [ebp - 0x25c]
add eax, 1
mov dword [ebp - 0x25c], eax
cmp dword [ebp - 0x254], 0
je 0x4759c5
jmp 0x47599c
push 8
mov ecx, dword [ebp + 8]
push ecx
call fcn.00465c90
add esp, 8
mov dword [ebp - 0x258], eax
mov edx, dword [ebp - 0x25c]
imul edx, edx, 0x78
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00465c90
add esp, 8
mov ecx, dword [ebp - 0x258]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x254], edx
jmp 0x475a12
mov eax, dword [ebp - 0x254]
mov ecx, dword [eax + 0x48]
mov dword [ebp - 0x254], ecx
cmp dword [ebp - 0x254], 0
je 0x475a6c
push 0x78
mov edx, dword [ebp - 0x254]
push edx
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax + 4]
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 4]
mov dword [eax + 0x44], 0
mov ecx, dword [ebp - 0x254]
cmp dword [ecx + 0x48], 0
je 0x475a6a
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 4]
add eax, 0x78
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx + 4]
mov dword [edx + 0x48], eax
jmp 0x475a03
mov eax, dword [ebp - 0x258]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x414]
mov dword [eax], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x258]
mov dword [eax + 0x414], ecx
jmp 0x475a9b
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x68]
mov dword [eax + 0x18], 0
push 0xa
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x68]
add eax, 0x1c
push eax
call fcn.00466a7d
add esp, 0xc
mov ecx, dword [ebp + 0x18]
movsx edx, byte [ecx]
test edx, edx
je 0x475bec
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x6c]
movsx edx, word [ecx + 0x3a0]
test edx, edx
jl 0x475af1
mov eax, dword [ebp + 0x18]
movsx ecx, byte [eax]
test ecx, ecx
je 0x475afe
push 0x4db750
mov edx, dword [ebp + 0x18]
push edx
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
jne 0x475afe
cmp dword [0x4db70c], 0
je 0x475bec
push 0x94
push 0
lea eax, [ebp - 0x10c]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x6c]
movsx eax, word [edx + 0x3a0]
test eax, eax
jl 0x475b42
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x6c]
movsx eax, word [edx + 0x3a0]
push eax
lea ecx, [ebp - 0xd7]
push ecx
call fcn.004669c0
add esp, 8
cmp dword [0x4db70c], 0
je 0x475b63
push 0x1e
mov edx, dword [0x4db70c]
push edx
lea eax, [ebp - 0xf6]
push eax
call fcn.00466a7d
add esp, 0xc
lea ecx, [ebp - 0x10c]
push ecx
push 0x2a
mov edx, dword [ebp + 8]
push edx
call fcn.004741e0
add esp, 0xc
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x260]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0047286a
add esp, 0xc
movsx eax, byte [ebp - 0x260]
cmp eax, 0x4f
jne 0x475bec
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 0
je 0x475bbb
xor edx, edx
test edx, edx
je 0x475bbb
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x2c4], ecx
jmp 0x475bc5
mov dword [ebp - 0x2c4], 0
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x2c4]
mov dword [edx + 0x14], eax
push 0
push 0xff
push 0
push 0
push 0x75
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.00463180
add esp, 0x1c
mov edx, dword [ebp + 0x18]
movsx eax, byte [edx]
test eax, eax
je 0x475cad
push 0x4db758
mov ecx, dword [ebp + 0x18]
push ecx
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
je 0x475cad
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x6c]
mov ecx, dword [eax + 0x3a8]
and ecx, 0x200
test ecx, ecx
jne 0x475cad
push 0x4c
push 0
lea edx, [ebp - 0x2b0]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov eax, dword [ebp + 8]
add eax, 0x14
push eax
lea ecx, [ebp - 0x2b0]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00463440
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.0048b6e0
add esp, 0xc
lea edx, [ebp - 0x10c]
push edx
push 0x67
mov eax, dword [ebp + 8]
push eax
call fcn.004741e0
add esp, 0xc
lea ecx, [ebp - 0x2b0]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x14
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00463440
add esp, 0xc
lea ecx, [ebp - 0x2b0]
push ecx
call fcn.004633e6
add esp, 4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x68]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x78], ecx
jmp 0x475d84
movsx edx, byte [ebp - 0x1e4]
cmp edx, 0x3f
jne 0x475d1f
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0
je 0x475cea
mov ecx, 1
test ecx, ecx
je 0x475cea
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x2c8], eax
jmp 0x475cf4
mov dword [ebp - 0x2c8], 0xffffff9f
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x2c8]
mov dword [ecx + 0x14], edx
push 0
push 0xff
mov eax, dword [ebp + 0x10]
push eax
push 0
push 0x79
push 0xffffffffffffff9f
mov ecx, dword [ebp + 8]
push ecx
call fcn.00463180
add esp, 0x1c
jmp 0x475d84
mov edx, dword [ebp + 8]
cmp dword [edx + 0x14], 0
jne 0x475d84
movsx eax, byte [ebp - 0x1e4]
cmp eax, 0x4f
je 0x475d84
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 0
je 0x475d51
xor edx, edx
test edx, edx
je 0x475d51
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x2cc], ecx
jmp 0x475d5b
mov dword [ebp - 0x2cc], 0xfffffff4
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x2cc]
mov dword [edx + 0x14], eax
push 0
push 0xff
mov ecx, dword [ebp + 0x10]
push ecx
push 0
push 0x7a
push 0xfffffffffffffff4
mov edx, dword [ebp + 8]
push edx
call fcn.00463180
add esp, 0x1c
mov eax, dword [ebp - 0x78]
mov esp, ebp
pop ebp
ret