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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xec
push ebx
mov ebx, ecx
push esi
mov eax, dword [ebx + 0xec]
push edi
mov dword [esp + 0x2c], ebx
cmp eax, 0xf3c
jge 0x47675d
inc eax
mov dword [ebx + 0xec], eax
cmp eax, 1
je 0x40dd22
cmp byte [ebx + 0x100], 0
mov byte [ebx + 0x148], 0
jne 0x40db97
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
cmp byte [ebx + 0x148], 0
mov edx, 2
jne 0x40db97
cmp byte [0x4c20b7], 0
jne 0x476778
cmp byte [0x4c2848], 0
jne 0x47678a
push 1
push 0
push 0
push 0
lea eax, [esp + 0x5c]
push eax
call esi
test eax, eax
jne 0x40dcc0
cmp byte [0x4c20c0], 1
je 0x4767b2
cmp dword [ebx + 0xfc], 1
je 0x476fdf
mov edx, 2
cmp dword [0x4c2104], 0
jne 0x4767cf
cmp byte [0x4c20c5], 1
je 0x47685c
cmp dword [ebx + 0x480], 0
je 0x40d9d4
cmp byte [0x4c3360], 0
jne 0x40d9d4
mov esi, dword [ebx + 0x478]
lea eax, [ebx + 0x478]
mov byte [0x4c3360], 1
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], eax
lea ecx, [ecx]
test esi, esi
jne 0x40dbbf
mov ebx, dword [esp + 0xc]
lea esp, [esp]
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x40dc08
mov ebx, dword [esp + 0x2c]
mov byte [0x4c3360], al
cmp dword [esp + 0x14], eax
jg case.default.0x476d82
lea edx, [eax + 2]
cmp byte [0x4c281c], 0
je 0x40da87
cmp byte [ebx + 0x484], 1
je 0x40da87
cmp byte [0x4c2848], 1
je 0x40da87
xor ecx, ecx
mov eax, 8
mul edx
seto cl
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 8
neg ecx
or ecx, eax
push ecx
call fcn.00420bea
add esp, 4
xor ecx, ecx
push 4
mov dword [esp + 0x54], eax
mov word [eax], cx
call fcn.00420bea
add esp, 4
test eax, eax
je 0x40ddb8
mov dword [eax], 1
mov dword [esp + 0x5c], eax
lea esp, [esp]
cmp dword [0x4c283c], 0
jne 0x476898
cmp byte [0x4c281c], 0
je 0x476a1b
mov esi, dword [esp + 0x5c]
dec dword [esi]
jne 0x40da87
push dword [esp + 0x50]
call fcn.00420c5e
add esp, 4
push esi
call fcn.00420c5e
add esp, 4
mov ecx, ebx
call fcn.0040de60
cmp al, 1
je case.default.0x476d82
cmp byte [0x4c2990], 0
jne 0x476a4d
mov eax, dword [ebx + 0xfc]
cmp eax, 7
je 0x476b3d
cmp eax, 8
je 0x476e94
cmp eax, 9
je 0x476e94
cmp eax, 2
je 0x476d2c
cmp eax, 3
je 0x476d2c
cmp eax, 4
je 0x476d2c
cmp eax, 5
je 0x476d2c
cmp eax, 6
je 0x476d2c
mov eax, dword [ebp + 8]
mov dword [ebx + 0xf4], eax
mov esi, eax
inc eax
mov dword [ebp + 8], eax
cmp esi, dword [0x4c32f8]
jg 0x476d1d
test esi, esi
jle 0x476d1d
shl esi, 4
add esi, dword [0x4c332c]
je 0x476d1d
mov eax, dword [esi + 4]
xor edx, edx
mov ecx, 1
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
mov edi, dword [eax]
mov dword [esp + 0x14], edx
movsx eax, word [edi + 8]
test eax, eax
jne 0x40dc1c
lea eax, [ebp + 8]
push eax
push esi
mov ecx, ebx
call fcn.0040de90
mov esi, dword [esp + 0x20]
test esi, esi
jne 0x40dc97
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
cmp ecx, 5
jge 0x476c6c
mov dword [esp + 0x24], 1
mov dword [esp + 0x18], 0
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
cmp byte [ebx + 0x100], 0
je 0x40d8f0
mov eax, dword [ebx + 0xec]
mov byte [ebx + 0x148], 0
cmp eax, 1
je 0x40dd2c
dec eax
mov dword [ebx + 0xec], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, dword [esi]
cmp byte [edi + 0x11], 0
jne 0x40dc00
mov edi, dword [edi + 0x14]
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, eax
sub eax, edi
xor edx, edx
cmp edi, 0x7fffffff
ja 0x476876
cmp ecx, 0x7fffffff
ja 0x40dbeb
cdq
mov edi, dword [esi]
test edx, edx
jl 0x40dc00
jg 0x40dd7e
cmp eax, dword [edi + 0x18]
jae 0x40dd7e
mov esi, dword [esi + 4]
jmp 0x40d9a0
mov ecx, dword [eax]
cmp byte [ecx + 0x11], 0
jne 0x476887
mov eax, dword [eax + 4]
jmp 0x40d9b2
cmp eax, 0x33
jne 0x40dc2e
push esi
mov ecx, ebx
call fcn.0040e0b0
jmp 0x40db57
dec eax
cmp eax, 0x7e
ja case.0x40dc3f.2
movzx eax, byte [eax + 0x40ddd4]
jmp dword [eax*4 + 0x40ddc0]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x18]
push eax
push esi
push 0
mov ecx, ebx
call fcn.00413b80
test eax, eax
js 0x40db57
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x14]
mov eax, dword [ecx + eax*4]
cmp word [eax + 8], 0x7f
je 0x40db57
jmp 0x476c36
lea eax, [esp + 0x37]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1c]
push eax
push esi
push 0
mov ecx, ebx
call fcn.00412d20
jmp 0x40dc5a
mov eax, dword [esi + 0xc]
dec dword [eax]
mov eax, dword [esi + 0xc]
cmp dword [eax], 0
je 0x476c52
push esi
call fcn.00420c5e
add esp, 4
mov dword [esp + 0x20], 0
jmp 0x40db63
cmp dword [esp + 0x50], 0x12
je 0x47679c
lea eax, [esp + 0x4c]
push eax
mov ecx, 0x4c2810
call fcn.0041fa29
test eax, eax
jne 0x40dcf1
lea eax, [esp + 0x4c]
push eax
mov ecx, 0x4c2810
call fcn.0041f1f8
test eax, eax
je 0x40dd0a
push 1
push 0
push 0
push 0
lea eax, [esp + 0x5c]
push eax
call esi
test eax, eax
je 0x40d933
jmp 0x40dcc0
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x40dcf1
call fcn.0041fb1a
jmp 0x40d8d6
mov ecx, ebx
call fcn.00402461
cmp byte [ebx + 0x100], 1
je 0x40dbb4
mov ecx, ebx
call fcn.0041fb46
push 0
call dword [sym.imp.USER32.dll_LockWindowUpdate]
push dword [0x4c20e8]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
push 0
lea eax, [esp + 0xe8]
push eax
call esi
test eax, eax
jle 0x40dbb4
jmp 0x476ffe
inc dword [esp + 0x14]
call dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [edi + 0x14], eax
push dword [esi]
mov ecx, ebx
call fcn.0041db65
mov ecx, dword [esi]
push 0
mov byte [ecx + 0x10], 1
mov eax, dword [eax + 0x10]
push 1
inc eax
push eax
mov ecx, ebx
call fcn.0041c051
mov eax, dword [esi]
mov byte [eax + 0x10], 0
mov esi, dword [esi + 4]
jmp 0x40d9a0
xor eax, eax
jmp 0x40da45
push 0xffffffffffffffff
push 0x9a
mov byte [0x4c20b6], 0
call fcn.0044e151
or eax, 0xffffffff
jmp 0x40dbb6
cmp byte [ebx + 0x149], 0
je 0x40d952
jmp 0x40d90f
cmp dword [ebx + 0xfc], 0
je 0x40d952
jmp 0x40d91c
mov byte [ebx + 0x100], 1
mov dword [ebx + 0xfc], 1
jmp 0x40d933
mov byte [0x4c20c5], 0
mov byte [0x4c20c0], 0
mov dword [ebx + 0xfc], 1
jmp 0x40d940
mov eax, dword [0x4c2108]
mov esi, dword [eax]
call fcn.0044e49a
mov edx, dword [ebx + 0x1cc]
xor edi, edi
test edx, edx
je 0x476801
mov ecx, dword [ebx + 0x1c8]
mov eax, dword [ecx]
mov eax, dword [eax]
test eax, eax
je 0x4767f9
cmp dword [eax], esi
je 0x476801
inc edi
add ecx, 4
cmp edi, edx
jb 0x4767ed
cmp edi, edx
je 0x47684c
mov eax, dword [ebx + 0x1c8]
mov ecx, ebx
mov eax, dword [eax + edi*4]
mov eax, dword [eax]
add eax, 8
push eax
call fcn.0041db65
mov ecx, dword [ebx + 0x1c8]
mov esi, eax
mov ecx, dword [ecx + edi*4]
mov ecx, dword [ecx]
add ecx, 0x18
push ecx
lea ecx, [ebx + 0x150]
call fcn.0040bf9c
mov eax, dword [esi + 0x10]
push 0
push 1
inc eax
push eax
mov ecx, ebx
call fcn.0041c051
jmp case.default.0x476d82
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
mov edx, 2
jmp 0x40d95f
cmp byte [0x4c20b7], 0
jne 0x40d96c
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40db8a
cmp ecx, 0x7fffffff
jbe 0x40dbeb
jmp 0x40dbea
lea eax, [esp + 0xc]
push eax
mov ecx, ebx
call fcn.0045bb46
jmp 0x40d9b0
mov eax, dword [0x4c2840]
lea ecx, [esp + 0x4c]
mov esi, dword [eax]
push esi
call fcn.0046989a
mov ecx, 0x4c283c
call fcn.0046f3fc
test esi, esi
je 0x4768bf
push ecx
mov ecx, esi
call fcn.004604b9
cmp dword [esp + 0x54], 0
mov dword [0x4c3364], 0
je 0x40da50
lea eax, [esp + 0x50]
push eax
mov ecx, ebx
call fcn.0041db65
mov esi, eax
test esi, esi
je 0x40da50
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 1
call fcn.00411c10
mov eax, dword [esp + 0x4c]
push str._GUI_CTRLID
lea ecx, [esp + 0xd0]
mov dword [esp + 0x48], 1
mov dword [esp + 0x3c], eax
call fcn.0040c540
push 2
push 1
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0xd8]
push eax
call fcn.0040ca51
lea ecx, [esp + 0xcc]
call fcn.00407487
lea ecx, [esp + 0x38]
call fcn.00411c10
mov eax, dword [esp + 0x60]
push str._GUI_WINHANDLE
lea ecx, [esp + 0xc0]
mov dword [esp + 0x48], 7
mov dword [esp + 0x3c], eax
call fcn.0040c540
push 2
push 1
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0xc8]
push eax
call fcn.0040ca51
lea ecx, [esp + 0xbc]
call fcn.00407487
lea ecx, [esp + 0x38]
call fcn.00411c10
mov eax, dword [esp + 0x64]
push str._GUI_CTRLHANDLE
lea ecx, [esp + 0xa0]
mov dword [esp + 0x48], 7
mov dword [esp + 0x3c], eax
call fcn.0040c540
push 2
push 1
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0xa8]
push eax
call fcn.0040ca51
lea ecx, [esp + 0x9c]
call fcn.00407487
mov byte [ebx + 0x484], 1
mov eax, dword [esi + 0x10]
push 0
push 1
inc eax
push eax
mov ecx, ebx
call fcn.0041c051
lea ecx, [esp + 0x38]
mov byte [ebx + 0x484], 0
call fcn.00411c10
lea ecx, [esp + 0x4c]
call fcn.0044de1f
jmp case.default.0x476d82
cmp dword [0x4c297c], 0
jne 0x476a40
cmp dword [0x4c3364], 0x64
jge 0x476a40
inc dword [0x4c3364]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40da6a
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40da6a
cmp byte [ebx + 0x485], 1
je 0x40daa3
lea ecx, [esp + 0x50]
call fcn.0040ca0b
lea eax, [esp + 0x4c]
push eax
mov ecx, 0x4c28f0
call fcn.00446172
test al, al
je 0x476b2f
cmp dword [esp + 0x54], 0
je 0x476a63
lea eax, [esp + 0x50]
push eax
mov ecx, ebx
call fcn.0041db65
mov esi, eax
test esi, esi
je 0x476a63
lea ecx, [esp + 0x70]
mov dword [esp + 0x70], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 1
call fcn.00411c10
mov eax, dword [esp + 0x4c]
push str._TRAY_ID
lea ecx, [esp + 0xb0]
mov dword [esp + 0x80], 1
mov dword [esp + 0x74], eax
call fcn.0040c540
push 2
push 1
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0xb8]
push eax
call fcn.0040ca51
lea ecx, [esp + 0xac]
call fcn.00407487
mov byte [ebx + 0x485], 1
mov eax, dword [esi + 0x10]
push 0
push 1
inc eax
push eax
mov ecx, ebx
call fcn.0041c051
lea ecx, [esp + 0x70]
mov byte [ebx + 0x485], 0
call fcn.00411c10
lea ecx, [esp + 0x4c]
call fcn.0044de1f
jmp case.default.0x476d82
lea ecx, [esp + 0x50]
call fcn.00407487
jmp 0x40daa3
push 0xa
push dword [ebx + 0x470]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [esp + 0x48], eax
cmp eax, 0x102
je case.default.0x476d82
lea eax, [esp + 0x48]
push eax
push dword [ebx + 0x470]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebx + 0x470]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x48]
mov dword [esp + 0xc], eax
jmp 0x476b9a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 0x474], 0
mov dword [esp + 0xc], 0
push ecx
lea eax, [esp + 0x10]
push eax
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
add ecx, ebx
call fcn.00402852
mov byte [ebx + 0x148], 1
mov dword [ebx + 0xfc], 0
jmp case.default.0x476d82
lea ecx, [ebx + 0x16c]
call fcn.0045f7a9
mov ecx, eax
call fcn.0045dd0c
test al, al
jne 0x476bf7
movsx eax, word [edi + 0xa]
push eax
push 0xa7
mov ecx, ebx
call fcn.0044e151
lea ecx, [esp + 0x18]
call fcn.00413ad0
jmp case.default.0x476d82
lea ecx, [ebx + 0x16c]
call fcn.0045f7a9
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x18]
push eax
push esi
mov ecx, ebx
call fcn.0045f017
jmp 0x40dc5a
push 0xffffffffffffffff
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1c]
push eax
push esi
mov ecx, ebx
call fcn.0040f100
jmp 0x40dc5a
movsx eax, word [eax + 0xa]
push eax
push 0x72
mov ecx, ebx
call fcn.0044e151
lea ecx, [esp + 0x18]
call fcn.00413ad0
jmp case.default.0x476d82
push dword [esi]
call fcn.00420c5e
add esp, 4
push dword [esi + 0xc]
call fcn.00420c5e
add esp, 4
jmp 0x40dca8
add ecx, 0xfffffffb
cmp ecx, 0xa
ja case.0x476c78.6
jmp dword [ecx*4 + 0x477035]
test edx, edx
je case.0x476c78.6
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push dword [esp + 0x18]
call fcn.00420c5e
add esp, 4
jmp case.0x476c78.6
test edx, edx
je case.0x476c78.6
push ecx
mov ecx, edx
call fcn.0044b5cb
jmp case.0x476c78.6
lea ecx, [esp + 0x18]
call fcn.0041f257
jmp case.0x476c78.6
push dword [edx + 4]
call fcn.00420c5e
add esp, 4
push dword [esp + 0x18]
call fcn.00420c5e
add esp, 4
jmp case.0x476c78.6
test edx, edx
je case.0x476c78.6
push ecx
mov ecx, edx
call fcn.0043b045
jmp case.0x476c78.6
test edx, edx
je case.0x476c78.6
push ecx
mov ecx, edx
call fcn.0043b06f
jmp case.0x476c78.6
test edx, edx
je case.0x476c78.6
push ecx
mov ecx, edx
call fcn.0040276d
jmp case.0x476c78.6
mov dword [ebx + 0xfc], 1
jmp case.default.0x476d82
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebx + 0x310], 0
je 0x476d70
mov ecx, dword [ebx + 0x318]
call fcn.0041f1d1
test edx, edx
jl 0x476d70
jg 0x476d56
cmp eax, dword [ebx + 0x310]
jb 0x476d70
cmp dword [ebx + 0xfc], 2
je 0x476bac
mov dword [esp + 0xc], 0
jmp 0x476b9a
mov eax, dword [ebx + 0xfc]
add eax, 0xfffffffd
cmp eax, 3
ja case.default.0x476d82
jmp dword [eax*4 + 0x477061]
mov ecx, ebx
call fcn.004697c2
jmp 0x476dbb
mov ecx, ebx
call fcn.004697c2
jmp 0x476da4
push 1
mov ecx, ebx
call fcn.0040146d
mov esi, eax
test esi, esi
js 0x476dc1
jg case.default.0x476d82
jmp 0x476dfa
push 1
mov ecx, ebx
call fcn.0040146d
mov esi, eax
test esi, esi
jns 0x476df0
mov eax, esi
neg eax
push 0
push eax
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
add ecx, ebx
call fcn.0044e415
push ecx
lea eax, [esp + 0x10]
push eax
mov eax, dword [ebx]
mov dword [esp + 0x14], 0
mov ecx, dword [eax + 4]
add ecx, ebx
call fcn.00402852
test esi, esi
je case.default.0x476d82
test esi, esi
jle 0x476e73
mov eax, dword [ebx + 0xfc]
cmp eax, 5
je 0x476e0a
cmp eax, 3
jne 0x476e73
mov eax, dword [ebx + 0x1f8]
lea ecx, [esp + 0x80]
mov esi, dword [eax]
mov dword [esp + 0x80], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 1
call fcn.00411c10
push 0
lea eax, [esp + 0x84]
push eax
mov eax, dword [ebx]
mov dword [esp + 0x94], 7
mov ecx, dword [eax + 4]
add ecx, ebx
mov dword [esp + 0x88], esi
call fcn.0045de3b
lea ecx, [esp + 0x80]
call fcn.00411c10
mov ecx, dword [ebx + 0x314]
mov byte [ebx + 0x148], 1
mov dword [ebx + 0xfc], 0
call fcn.00448e2f
jmp case.default.0x476d82
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebx + 0x468], 0
je 0x476ed1
mov ecx, dword [ebx + 0x46c]
call fcn.0041f1d1
test edx, edx
jl 0x476ed1
jg 0x476ebe
cmp eax, dword [ebx + 0x468]
jb 0x476ed1
mov eax, dword [ebx + 0x474]
test eax, eax
je 0x476b92
jmp 0x476b81
mov eax, dword [ebx + 0xfc]
xor esi, esi
mov byte [esp + 0x13], 0
mov dword [esp + 0xc], esi
cmp eax, 8
jne 0x476f0f
mov ecx, dword [ebx + 0x458]
lea eax, [esp + 0x13]
push eax
lea edx, [esp + 0x10]
call fcn.004479d6
add esp, 4
cmp byte [esp + 0x13], 1
jne case.default.0x476d82
mov esi, dword [esp + 0xc]
jmp 0x476f18
cmp eax, 9
jne case.default.0x476d82
mov ecx, dword [ebx + 0x474]
mov eax, 0xcccccccc
mov dword [esp + 0x30], eax
test ecx, ecx
je 0x476f71
lea eax, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [esp + 0x30], 0x103
jne 0x476f57
push 0
push dword [ebx + 0x474]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne case.default.0x476d82
push dword [ebx + 0x474]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x30]
mov dword [ebx + 0x474], 0
cmp dword [ebx + 0xfc], 8
jne 0x476fae
movd xmm0, esi
cvtdq2pd xmm0, xmm0
push ecx
shr esi, 0x1f
lea eax, [esp + 0x94]
addsd xmm0, qword [esi*8 + 0x4b7590]
push eax
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
add ecx, ebx
movsd qword [esp + 0x98], xmm0
call fcn.004602d1
jmp 0x476fbd
push 0
push eax
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
add ecx, ebx
call fcn.0040288b
push dword [ebx + 0x314]
mov byte [ebx + 0x148], 1
mov dword [ebx + 0xfc], 0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.default.0x476d82
push ecx
lea eax, [esp + 0x30]
push eax
mov eax, dword [ebx]
mov dword [esp + 0x34], 0
mov ecx, dword [eax + 4]
add ecx, ebx
call fcn.00402852
jmp 0x40db97
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 esi
test eax, eax
jg 0x476ffe
jmp 0x40dbb4