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

Disassembly:
sub esp, 0x954
push ebx
push ebp
push esi
push edi
xor esi, esi
push esi
call dword [0x4570a8]
mov dword [0x4dea44], eax
lea eax, [esp + 0x538]
push eax
push str.32770
push esi
call dword [0x4572e0]
mov ecx, dword [0x4dea6c]
lea edx, [esp + 0x538]
push edx
mov dword [esp + 0x540], 0x4083f0
mov dword [esp + 0x560], 0x49fe2c
mov dword [esp + 0x54c], ecx
mov dword [esp + 0x550], esi
call dword [0x4572e8]
push esi
push 0x800000
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], 0x11a
mov dword [esp + 0x2c], 0x93
call dword [0x4572bc]
mov edx, dword [0x4dea6c]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
sub ecx, dword [esp + 0x18]
sub eax, dword [esp + 0x14]
mov edi, dword [0x4572ec]
push esi
push edx
mov edx, dword [0x4dee90]
push esi
push edx
push ecx
push eax
push 1
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
call edi
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x38]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub ecx, eax
push ecx
push esi
call edi
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x38]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub ecx, eax
push ecx
push 0x80800000
push 0x49fe40
push 0x49fe2c
push esi
call dword [0x457394]
mov edx, dword [0x52a108]
push 1
push edx
push 0x30
push eax
mov dword [0x4dea3c], eax
call dword [0x4572c4]
mov ecx, str.Static
mov eax, 0xe
mov ebx, 0xdeadface
mov ebp, 0xf
mov edx, 0x1000010d
mov dword [esp + 0x40], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov eax, 0x20
mov edi, 0x72
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], 0x800000b8
mov dword [esp + 0x30], 5
mov dword [esp + 0x34], 0x4d
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], 0x21
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], 0x10000002
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], 6
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], 0x64
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], 0x10000000
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], 7
mov dword [esp + 0x7c], 0x10c
mov dword [esp + 0x80], esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], 0x10800101
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], 8
mov dword [esp + 0xa0], 1
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], esi
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], 9
mov dword [esp + 0xc4], 0x22
mov dword [esp + 0xc8], ebp
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], esi
mov dword [esp + 0xd8], edx
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xe4], 0xa
mov dword [esp + 0xe8], 0x43
mov dword [esp + 0xec], ebp
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], esi
mov dword [esp + 0xfc], edx
mov dword [esp + 0x100], ecx
mov dword [esp + 0x104], ebx
mov dword [esp + 0x108], 0xb
mov dword [esp + 0x10c], 0x64
mov dword [esp + 0x110], ebp
mov dword [esp + 0x114], eax
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], esi
mov dword [esp + 0x120], edx
mov dword [esp + 0x124], ecx
mov dword [esp + 0x128], ebx
mov dword [esp + 0x12c], 0xc
mov dword [esp + 0x130], 0x85
mov dword [esp + 0x134], ebp
mov dword [esp + 0x138], eax
mov dword [esp + 0x13c], eax
mov dword [esp + 0x140], esi
mov dword [esp + 0x144], edx
mov dword [esp + 0x148], ecx
mov dword [esp + 0x14c], ebx
mov dword [esp + 0x150], 0xd
mov dword [esp + 0x154], 0xa6
mov dword [esp + 0x158], ebp
mov dword [esp + 0x15c], eax
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], esi
mov dword [esp + 0x168], edx
mov dword [esp + 0x16c], ecx
mov dword [esp + 0x170], ebx
mov dword [esp + 0x174], 0xe
mov dword [esp + 0x178], 0xc7
mov dword [esp + 0x17c], ebp
mov dword [esp + 0x180], eax
mov dword [esp + 0x184], eax
mov dword [esp + 0x188], esi
mov dword [esp + 0x18c], edx
mov dword [esp + 0x190], ecx
mov dword [esp + 0x194], ebx
mov dword [esp + 0x198], ebp
mov dword [esp + 0x19c], 0xe8
mov dword [esp + 0x1a0], ebp
mov dword [esp + 0x1a4], eax
mov dword [esp + 0x1a8], eax
mov dword [esp + 0x1ac], esi
mov dword [esp + 0x1b0], edx
mov dword [esp + 0x1b4], ecx
mov dword [esp + 0x1b8], ebx
mov dword [esp + 0x1bc], 0x10
mov dword [esp + 0x1c0], 1
mov dword [esp + 0x1c4], 0x30
mov dword [esp + 0x1c8], eax
mov dword [esp + 0x1cc], eax
mov dword [esp + 0x1d0], esi
mov dword [esp + 0x1d4], edx
mov dword [esp + 0x1d8], ecx
mov dword [esp + 0x1dc], ebx
mov dword [esp + 0x1e0], 0x11
mov dword [esp + 0x1e4], 0x22
mov dword [esp + 0x1e8], 0x30
mov dword [esp + 0x1ec], eax
mov dword [esp + 0x1f0], eax
mov dword [esp + 0x1f4], esi
mov dword [esp + 0x1f8], edx
mov dword [esp + 0x1fc], ecx
mov dword [esp + 0x200], ebx
mov dword [esp + 0x204], 0x12
mov dword [esp + 0x208], 0x43
mov dword [esp + 0x20c], 0x30
mov dword [esp + 0x210], eax
mov dword [esp + 0x214], eax
mov dword [esp + 0x218], esi
mov dword [esp + 0x21c], edx
mov dword [esp + 0x220], ecx
mov dword [esp + 0x224], ebx
mov dword [esp + 0x228], 0x13
mov dword [esp + 0x22c], 0x64
mov dword [esp + 0x230], 0x30
mov dword [esp + 0x234], eax
mov dword [esp + 0x238], eax
mov dword [esp + 0x23c], esi
mov dword [esp + 0x240], edx
mov dword [esp + 0x244], ecx
mov dword [esp + 0x248], ebx
mov dword [esp + 0x24c], 0x14
mov dword [esp + 0x250], 0x85
mov dword [esp + 0x254], 0x30
mov dword [esp + 0x258], eax
mov dword [esp + 0x25c], eax
mov dword [esp + 0x260], esi
mov dword [esp + 0x264], edx
mov dword [esp + 0x268], ecx
mov dword [esp + 0x26c], ebx
mov dword [esp + 0x270], 0x15
mov dword [esp + 0x274], 0xa6
mov dword [esp + 0x278], 0x30
mov dword [esp + 0x27c], eax
mov dword [esp + 0x280], eax
mov dword [esp + 0x284], esi
mov dword [esp + 0x288], edx
mov dword [esp + 0x28c], ecx
mov dword [esp + 0x290], ebx
mov dword [esp + 0x294], 0x16
mov dword [esp + 0x298], 0xc7
mov dword [esp + 0x29c], 0x30
mov dword [esp + 0x2a0], eax
mov dword [esp + 0x2a4], eax
mov dword [esp + 0x2a8], esi
mov dword [esp + 0x2ac], edx
mov dword [esp + 0x2b0], ecx
mov dword [esp + 0x2b4], ebx
mov dword [esp + 0x2b8], 0x17
mov dword [esp + 0x2bc], 0xe8
mov dword [esp + 0x2c0], 0x30
mov dword [esp + 0x2c4], eax
mov dword [esp + 0x2c8], eax
mov dword [esp + 0x2cc], esi
mov dword [esp + 0x2d0], edx
mov dword [esp + 0x2d4], ecx
mov dword [esp + 0x2d8], ebx
mov dword [esp + 0x2dc], 0x18
mov dword [esp + 0x2e0], 1
mov dword [esp + 0x2e4], 0x51
mov dword [esp + 0x2e8], eax
mov dword [esp + 0x2ec], eax
mov dword [esp + 0x2f0], esi
mov dword [esp + 0x2f4], edx
mov dword [esp + 0x2f8], ecx
mov dword [esp + 0x2fc], ebx
mov dword [esp + 0x300], 0x19
mov dword [esp + 0x304], 0x22
mov dword [esp + 0x308], 0x51
mov dword [esp + 0x30c], eax
mov dword [esp + 0x310], eax
mov dword [esp + 0x314], esi
mov dword [esp + 0x318], edx
mov dword [esp + 0x31c], ecx
mov dword [esp + 0x320], ebx
mov dword [esp + 0x324], 0x1a
mov dword [esp + 0x328], 0x43
mov dword [esp + 0x32c], 0x51
mov dword [esp + 0x330], eax
mov dword [esp + 0x334], eax
mov dword [esp + 0x338], esi
mov dword [esp + 0x33c], edx
mov dword [esp + 0x340], ecx
mov dword [esp + 0x344], ebx
mov dword [esp + 0x348], 0x1b
mov dword [esp + 0x34c], 0x64
mov dword [esp + 0x350], 0x51
mov dword [esp + 0x354], eax
mov dword [esp + 0x358], eax
mov dword [esp + 0x35c], esi
mov dword [esp + 0x360], edx
mov dword [esp + 0x364], ecx
mov dword [esp + 0x368], ebx
mov dword [esp + 0x36c], 0x1c
mov dword [esp + 0x370], 0x85
mov dword [esp + 0x374], 0x51
mov dword [esp + 0x378], eax
mov dword [esp + 0x37c], eax
mov dword [esp + 0x380], esi
mov dword [esp + 0x384], edx
mov dword [esp + 0x388], ecx
mov dword [esp + 0x38c], ebx
mov dword [esp + 0x390], 0x1d
mov dword [esp + 0x394], 0xa6
mov dword [esp + 0x398], 0x51
mov dword [esp + 0x39c], eax
mov dword [esp + 0x3a0], eax
mov dword [esp + 0x3a4], esi
mov dword [esp + 0x3a8], edx
mov dword [esp + 0x3ac], ecx
mov dword [esp + 0x3b0], ebx
mov dword [esp + 0x3b4], 0x1e
mov dword [esp + 0x3b8], 0xc7
mov dword [esp + 0x3bc], 0x51
mov dword [esp + 0x3c0], eax
mov dword [esp + 0x3c4], eax
mov dword [esp + 0x3c8], esi
mov dword [esp + 0x3cc], edx
mov dword [esp + 0x3d0], ecx
mov dword [esp + 0x3d4], ebx
mov dword [esp + 0x3d8], 0x1f
mov dword [esp + 0x3dc], 0xe8
mov dword [esp + 0x3e0], 0x51
mov dword [esp + 0x3e4], eax
mov dword [esp + 0x3e8], eax
mov dword [esp + 0x3ec], esi
mov dword [esp + 0x3f0], edx
mov dword [esp + 0x3f4], ecx
mov dword [esp + 0x3f8], ebx
mov dword [esp + 0x3fc], eax
mov dword [esp + 0x400], 1
mov dword [esp + 0x404], edi
mov dword [esp + 0x408], eax
mov dword [esp + 0x40c], eax
mov dword [esp + 0x410], esi
mov dword [esp + 0x414], edx
mov dword [esp + 0x418], ecx
mov dword [esp + 0x41c], ebx
mov dword [esp + 0x420], 0x21
mov dword [esp + 0x424], 0x22
mov dword [esp + 0x428], edi
mov dword [esp + 0x42c], eax
mov dword [esp + 0x430], eax
mov dword [esp + 0x434], esi
mov dword [esp + 0x438], edx
mov dword [esp + 0x43c], ecx
mov dword [esp + 0x440], ebx
mov dword [esp + 0x444], 0x22
mov dword [esp + 0x448], 0x43
mov dword [esp + 0x44c], edi
mov dword [esp + 0x450], eax
mov dword [esp + 0x454], eax
mov dword [esp + 0x458], esi
mov dword [esp + 0x45c], edx
mov dword [esp + 0x460], ecx
mov dword [esp + 0x464], ebx
mov dword [esp + 0x468], 0x23
mov dword [esp + 0x46c], 0x64
mov dword [esp + 0x470], edi
mov dword [esp + 0x474], eax
mov dword [esp + 0x478], eax
mov dword [esp + 0x47c], esi
mov dword [esp + 0x480], edx
mov dword [esp + 0x484], ecx
mov dword [esp + 0x488], ebx
mov dword [esp + 0x48c], 0x24
mov dword [esp + 0x490], 0x85
mov dword [esp + 0x494], edi
mov dword [esp + 0x498], eax
mov dword [esp + 0x49c], eax
mov dword [esp + 0x4a0], esi
mov dword [esp + 0x4a4], edx
mov dword [esp + 0x4a8], ecx
mov dword [esp + 0x4ac], ebx
mov dword [esp + 0x4b0], 0x25
mov dword [esp + 0x4b4], 0xa6
mov dword [esp + 0x4b8], edi
mov dword [esp + 0x4bc], eax
mov dword [esp + 0x4c0], eax
mov dword [esp + 0x4c4], esi
mov dword [esp + 0x4c8], edx
mov dword [esp + 0x4cc], ecx
mov dword [esp + 0x4d0], ebx
mov dword [esp + 0x4d4], 0x26
mov dword [esp + 0x4d8], 0xc7
mov dword [esp + 0x4dc], edi
mov dword [esp + 0x4e0], eax
mov dword [esp + 0x4e4], eax
mov dword [esp + 0x4e8], esi
mov dword [esp + 0x4ec], edx
mov dword [esp + 0x4f0], ecx
mov dword [esp + 0x4f4], ebx
mov dword [esp + 0x4f8], 0x27
mov dword [esp + 0x4fc], 0xe8
mov dword [esp + 0x500], edi
mov dword [esp + 0x504], eax
mov dword [esp + 0x508], eax
mov dword [esp + 0x50c], esi
mov dword [esp + 0x510], edx
mov dword [esp + 0x514], 0x49fe58
mov dword [esp + 0x518], ebx
mov dword [esp + 0x524], ebp
mov dword [esp + 0x51c], 0x28
mov dword [esp + 0x520], 0x108
mov dword [esp + 0x528], 0x11
mov dword [esp + 0x52c], 0x83
mov dword [esp + 0x530], esi
mov dword [esp + 0x534], 0x10000001
lea ebp, [esp + 0x2c]
mov dword [esp + 0x24], 0x24
lea esp, [esp]
mov edi, dword [ebp]
cmp edi, ebx
jne 0x409643
xor eax, eax
mov word [esp + 0x560], ax
jmp 0x409694
mov ecx, edi
and ecx, 0x7fffffff
mov eax, dword [ecx*4 + 0x52bc00]
lea edx, [esp + 0x560]
sub edx, eax
jmp 0x409660
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, si
jne 0x409660
test edi, edi
jns 0x409694
lea edi, [esp + 0x560]
add edi, 0xfffffffe
lea ecx, [ecx]
mov ax, word [edi + 2]
add edi, 2
cmp ax, si
jne 0x409680
mov edx, dword [0x496780]
mov dword [edi], edx
mov eax, dword [0x4dea6c]
mov ecx, dword [0x4dea3c]
mov edx, dword [ebp + 0x14]
push esi
push eax
mov eax, dword [ebp + 0x10]
push esi
push ecx
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0x1c]
push ecx
push edx
mov edx, dword [ebp - 4]
or eax, 0x50000000
push eax
mov eax, dword [ebp + 0x18]
lea ecx, [esp + 0x584]
push ecx
push edx
push eax
call dword [0x457394]
mov ecx, dword [ebp + 4]
push ecx
mov edi, eax
push 0xfffffffffffffff4
push edi
call dword [0x457384]
mov edx, dword [0x52a108]
push 1
push edx
push 0x30
push edi
call dword [0x4572c4]
add ebp, 0x24
dec dword [esp + 0x24]
jne 0x409630
mov eax, dword [0x4dea3c]
push 0x473214
push 7
push eax
call dword [0x457380]
push eax
call dword [0x4572b8]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x954
ret