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

Disassembly:
sub esp, 0x4ec
push ebx
push ebp
push esi
push edi
mov ebx, dword [esp + 0x504]
mov eax, dword [0x48bb04]
mov ecx, dword [0x48bb08]
mov edx, dword [0x48bb0c]
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov eax, dword [0x48bb10]
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp + 0x52], eax
mov dword [esp + 0x56], eax
mov dword [esp + 0x5a], eax
mov dword [esp + 0x5e], eax
mov dword [esp + 0x62], eax
mov word [esp + 0x66], ax
mov eax, dword [0x48bb1c]
mov dword [esp + 0x74], eax
xor eax, eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
movzx eax, word [0x48bb28]
mov dword [esp + 0x24], ecx
movzx ecx, word [0x48bb14]
mov dword [esp + 0x48], edx
mov edx, dword [0x48bb18]
mov word [esp + 0xa0], ax
xor eax, eax
mov word [esp + 0x50], cx
mov ecx, dword [0x48bb20]
mov dword [esp + 0x70], edx
mov edx, dword [0x48bb24]
mov dword [esp + 0xa2], eax
mov dword [esp + 0xa6], eax
mov dword [esp + 0xaa], eax
mov dword [esp + 0xae], eax
mov dword [esp + 0xb2], eax
mov word [esp + 0xb6], ax
movzx eax, word [0x48bb34]
mov ebp, 4
mov dword [esp + 0x98], ecx
mov ecx, dword [0x48bb2c]
mov dword [esp + 0x9c], edx
mov edx, dword [0x48bb30]
xor edi, edi
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], edx
mov edx, dword [0x48bb38]
mov word [esp + 0xc8], ax
xor eax, eax
mov ecx, 5
mov dword [esp + 0x40], 6
mov dword [esp + 0x44], ebp
mov dword [esp + 0x68], 7
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x90], ebp
mov dword [esp + 0x94], ebp
mov dword [esp + 0xb8], ebp
mov dword [esp + 0xbc], ebp
mov dword [esp + 0xca], eax
mov dword [esp + 0xce], eax
mov dword [esp + 0xd2], eax
mov dword [esp + 0xd6], eax
mov dword [esp + 0xda], eax
mov word [esp + 0xde], ax
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], ebp
mov dword [esp + 0xe8], edx
mov eax, dword [0x48bb3c]
movzx edx, word [0x48bb40]
mov dword [esp + 0xec], eax
xor eax, eax
mov dword [esp + 0xf2], eax
mov dword [esp + 0xf6], eax
mov dword [esp + 0xfa], eax
mov dword [esp + 0xfe], eax
mov dword [esp + 0x102], eax
mov word [esp + 0x106], ax
mov eax, dword [0x48bb44]
mov dword [esp + 0x110], eax
mov eax, dword [0x48bb4c]
mov dword [esp + 0x118], eax
xor eax, eax
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], eax
mov dword [esp + 0x12c], eax
mov eax, dword [0x48bb54]
mov dword [esp + 0x13c], eax
xor eax, eax
mov word [esp + 0xf0], dx
mov edx, dword [0x48bb48]
mov dword [esp + 0x144], eax
mov dword [esp + 0x148], eax
mov dword [esp + 0x14c], eax
mov dword [esp + 0x150], eax
mov dword [esp + 0x154], eax
mov eax, dword [0x48bb5c]
mov dword [esp + 0x114], edx
mov edx, dword [0x48bb50]
mov dword [esp + 0x160], eax
xor eax, eax
mov dword [esp + 0x138], edx
mov edx, dword [0x48bb58]
mov dword [esp + 0x16c], eax
mov dword [esp + 0x170], eax
mov dword [esp + 0x174], eax
mov dword [esp + 0x178], eax
mov dword [esp + 0x17c], eax
mov eax, dword [0x48bb68]
mov dword [esp + 0x140], edx
mov edx, dword [0x48bb64]
mov dword [esp + 0x188], eax
movzx eax, word [0x48bb74]
mov dword [esp + 0x168], edx
mov edx, dword [0x48bb70]
mov dword [esp + 0x130], ecx
mov dword [esp + 0x158], ecx
mov ecx, dword [0x48bb60]
mov word [esp + 0x194], ax
xor eax, eax
mov dword [esp + 0x190], edx
mov edx, dword [0x48bb78]
mov dword [esp + 0x164], ecx
mov ecx, dword [0x48bb6c]
mov dword [esp + 0x196], eax
mov dword [esp + 0x19a], eax
mov dword [esp + 0x19e], eax
mov dword [esp + 0x1a2], eax
mov word [esp + 0x1a6], ax
mov eax, dword [0x48bb7c]
mov dword [esp + 0x1b0], edx
movzx edx, word [0x48bb80]
mov dword [esp + 0x18c], ecx
mov dword [esp + 0x1b4], eax
xor eax, eax
mov ecx, 3
mov dword [esp + 0x108], ebp
mov dword [esp + 0x10c], ebp
mov dword [esp + 0x134], ebp
mov dword [esp + 0x15c], ebp
mov dword [esp + 0x180], 2
mov dword [esp + 0x184], ebp
mov dword [esp + 0x1a8], ecx
mov dword [esp + 0x1ac], ebp
mov word [esp + 0x1b8], dx
mov dword [esp + 0x1ba], eax
mov dword [esp + 0x1be], eax
movzx edx, word [0x48bb8c]
mov dword [esp + 0x1c2], eax
mov dword [esp + 0x1c6], eax
mov dword [esp + 0x1ca], eax
mov word [esp + 0x1ce], ax
mov eax, dword [0x48bb84]
mov dword [esp + 0x1d8], eax
xor eax, eax
mov dword [esp + 0x1e2], eax
mov dword [esp + 0x1e6], eax
mov dword [esp + 0x1ea], eax
mov dword [esp + 0x1ee], eax
mov dword [esp + 0x1f2], eax
mov word [esp + 0x1f6], ax
mov eax, dword [0x48bb90]
mov dword [esp + 0x200], eax
mov eax, dword [0x48bb98]
mov dword [esp + 0x208], eax
xor eax, eax
mov dword [esp + 0x20c], eax
mov dword [esp + 0x210], eax
mov dword [esp + 0x214], eax
mov dword [esp + 0x218], eax
mov dword [esp + 0x21c], eax
mov eax, dword [0x48bba0]
mov dword [esp + 0x1d0], ecx
mov ecx, dword [0x48bb88]
mov dword [esp + 0x22c], eax
mov eax, dword [0x48bba8]
mov dword [esp + 0x1dc], ecx
mov word [esp + 0x1e0], dx
mov edx, dword [0x48bb94]
mov dword [esp + 0x234], eax
xor eax, eax
mov ecx, 1
mov dword [esp + 0x1f8], ecx
mov dword [esp + 0x204], edx
mov edx, dword [0x48bb9c]
mov dword [esp + 0x220], ecx
mov dword [esp + 0x238], eax
mov dword [esp + 0x23c], eax
mov dword [esp + 0x240], eax
mov dword [esp + 0x244], eax
mov eax, dword [0x48bbb4]
mov dword [esp + 0x248], ecx
mov ecx, dword [0x48bbac]
mov dword [esp + 0x228], edx
mov edx, dword [0x48bba4]
mov dword [esp + 0x250], ecx
mov ecx, dword [0x48bbb8]
mov dword [esp + 0x258], eax
xor eax, eax
mov dword [esp + 0x230], edx
mov edx, dword [0x48bbb0]
mov dword [esp + 0x25c], eax
mov dword [esp + 0x260], eax
mov dword [esp + 0x264], eax
mov dword [esp + 0x268], eax
mov dword [esp + 0x26c], eax
mov eax, dword [0x48bbc0]
mov dword [esp + 0x278], ecx
movzx ecx, word [0x48bbc4]
mov dword [esp + 0x254], edx
mov edx, dword [0x48bbbc]
mov dword [esp + 0x280], eax
xor eax, eax
mov word [esp + 0x284], cx
mov dword [esp + 0x1d4], ebp
mov dword [esp + 0x1fc], ebp
mov dword [esp + 0x224], ebp
mov dword [esp + 0x24c], ebp
mov dword [esp + 0x270], 9
mov dword [esp + 0x274], ebp
mov dword [esp + 0x27c], edx
mov dword [esp + 0x286], eax
mov dword [esp + 0x28a], eax
mov dword [esp + 0x28e], eax
mov dword [esp + 0x292], eax
mov word [esp + 0x296], ax
mov dword [esp + 0x298], 0xa
mov ecx, 8
mov eax, dword [0x48bbcc]
mov edx, dword [0x48bbc8]
mov dword [esp + 0x2a4], eax
xor eax, eax
mov dword [esp + 0x2a8], eax
mov dword [esp + 0x2ac], eax
mov dword [esp + 0x2b0], eax
mov dword [esp + 0x2b4], eax
mov dword [esp + 0x2b8], eax
mov dword [esp + 0x2bc], eax
mov eax, dword [0x48bbd4]
mov dword [esp + 0x2cc], eax
xor eax, eax
mov dword [esp + 0x2a0], edx
mov edx, dword [0x48bbd0]
mov dword [esp + 0x2d2], eax
mov dword [esp + 0x2d6], eax
mov dword [esp + 0x2da], eax
mov dword [esp + 0x2de], eax
mov dword [esp + 0x2e2], eax
mov word [esp + 0x2e6], ax
mov eax, dword [0x48bbdc]
mov dword [esp + 0x2c8], edx
movzx edx, word [0x48bbd8]
mov dword [esp + 0x2f0], eax
mov eax, dword [0x48bbe4]
mov word [esp + 0x2d0], dx
mov edx, dword [0x48bbe0]
mov dword [esp + 0x2f8], eax
xor eax, eax
mov dword [esp + 0x2f4], edx
movzx edx, word [0x48bbe8]
mov dword [esp + 0x2fe], eax
mov dword [esp + 0x302], eax
mov dword [esp + 0x306], eax
mov dword [esp + 0x30a], eax
mov word [esp + 0x30e], ax
mov eax, dword [0x48bbec]
mov dword [esp + 0x318], eax
mov eax, dword [0x48bbf4]
mov word [esp + 0x2fc], dx
mov edx, dword [0x48bbf0]
mov dword [esp + 0x320], eax
xor eax, eax
mov dword [esp + 0x31c], edx
mov edx, dword [0x48bbf8]
mov dword [esp + 0x328], eax
mov dword [esp + 0x32c], eax
mov dword [esp + 0x330], eax
mov dword [esp + 0x334], eax
mov eax, dword [0x48bbfc]
mov dword [esp + 0x324], edx
mov edx, dword [0x48bc00]
mov dword [esp + 0x340], eax
mov eax, dword [0x48bc04]
mov dword [esp + 0x344], edx
movzx edx, word [0x48bc08]
mov dword [esp + 0x348], eax
xor eax, eax
mov esi, 0xb
mov word [esp + 0x34c], dx
mov edx, dword [0x48bc10]
mov dword [esp + 0x34e], eax
mov dword [esp + 0x352], eax
mov dword [esp + 0x356], eax
mov dword [esp + 0x35a], eax
mov word [esp + 0x35e], ax
mov eax, dword [0x48bc0c]
mov dword [esp + 0x29c], ecx
mov dword [esp + 0x2c0], ecx
mov dword [esp + 0x2c4], ebp
mov dword [esp + 0x2e8], ecx
mov dword [esp + 0x2ec], ebp
mov dword [esp + 0x310], ecx
mov dword [esp + 0x314], ebp
mov dword [esp + 0x338], esi
mov dword [esp + 0x33c], ebp
mov dword [esp + 0x360], esi
mov dword [esp + 0x364], ebp
mov dword [esp + 0x368], eax
mov dword [esp + 0x36c], edx
mov eax, dword [0x48bc14]
mov dword [esp + 0x370], eax
xor eax, eax
mov dword [esp + 0x376], eax
mov dword [esp + 0x37a], eax
mov dword [esp + 0x37e], eax
mov dword [esp + 0x382], eax
mov word [esp + 0x386], ax
mov eax, dword [0x48bc1c]
mov dword [esp + 0x390], eax
mov eax, dword [0x48bc20]
mov dword [esp + 0x394], eax
mov eax, dword [0x48bc24]
mov dword [esp + 0x398], eax
xor eax, eax
mov dword [esp + 0x39c], eax
mov dword [esp + 0x3a0], eax
mov dword [esp + 0x3a4], eax
mov dword [esp + 0x3a8], eax
mov dword [esp + 0x3ac], eax
mov eax, dword [0x48bc28]
mov dword [esp + 0x3b8], eax
mov eax, dword [0x48bc2c]
mov dword [esp + 0x3bc], eax
mov eax, dword [0x48bc30]
mov dword [esp + 0x3c0], eax
movzx eax, word [0x48bc34]
movzx edx, word [0x48bc18]
mov word [esp + 0x3c4], ax
xor eax, eax
mov dword [esp + 0x3c6], eax
mov dword [esp + 0x3ca], eax
mov dword [esp + 0x3ce], eax
mov dword [esp + 0x3d2], eax
mov word [esp + 0x3d6], ax
mov eax, dword [0x48bc3c]
mov dword [esp + 0x3e4], eax
mov eax, dword [0x48bc44]
mov dword [esp + 0x3b4], ecx
mov dword [esp + 0x3dc], ecx
mov ecx, dword [0x48bc38]
mov dword [esp + 0x3ec], eax
xor eax, eax
mov dword [esp + 0x3e0], ecx
mov ecx, dword [0x48bc40]
mov dword [esp + 0x3f0], eax
mov dword [esp + 0x3f4], eax
mov dword [esp + 0x3f8], eax
mov dword [esp + 0x3fc], eax
mov eax, dword [0x48bc4c]
mov dword [esp + 0x3e8], ecx
mov ecx, dword [0x48bc48]
mov dword [esp + 0x40c], eax
mov eax, dword [0x48bc54]
mov dword [esp + 0x408], ecx
mov ecx, dword [0x48bc50]
mov dword [esp + 0x414], eax
xor eax, eax
mov dword [esp + 0x410], ecx
movzx ecx, word [0x48bc58]
mov dword [esp + 0x41a], eax
mov dword [esp + 0x41e], eax
mov dword [esp + 0x422], eax
mov word [esp + 0x426], ax
mov eax, dword [0x48bc5c]
mov word [esp + 0x374], dx
mov edx, 0xc
mov word [esp + 0x418], cx
mov ecx, dword [0x48bc60]
mov dword [esp + 0x430], eax
mov eax, dword [0x48bc64]
mov dword [esp + 0x388], edx
mov dword [esp + 0x38c], ebp
mov dword [esp + 0x3b0], 0xd
mov dword [esp + 0x3d8], 0xe
mov dword [esp + 0x400], esi
mov dword [esp + 0x404], ebp
mov dword [esp + 0x428], edx
mov dword [esp + 0x42c], ebp
mov dword [esp + 0x434], ecx
mov dword [esp + 0x438], eax
movzx eax, word [0x48bc6c]
mov ecx, dword [0x48bc68]
mov word [esp + 0x440], ax
xor eax, eax
mov dword [esp + 0x442], eax
mov dword [esp + 0x446], eax
mov dword [esp + 0x44a], eax
mov word [esp + 0x44e], ax
mov eax, dword [0x48bc74]
mov dword [esp + 0x45c], eax
mov eax, dword [0x48bc7c]
mov dword [esp + 0x43c], ecx
mov ecx, dword [0x48bc70]
mov dword [esp + 0x464], eax
xor eax, eax
mov dword [esp + 0x458], ecx
mov ecx, dword [0x48bc78]
mov dword [esp + 0x46c], eax
mov dword [esp + 0x470], eax
mov dword [esp + 0x474], eax
mov eax, dword [0x48bc84]
mov dword [esp + 0x460], ecx
mov ecx, dword [0x48bc80]
mov dword [esp + 0x480], eax
mov eax, dword [0x48bc8c]
mov dword [esp + 0x468], ecx
mov ecx, dword [0x48bc88]
mov dword [esp + 0x488], eax
mov eax, dword [0x48bc94]
mov dword [esp + 0x484], ecx
mov ecx, dword [0x48bc90]
mov dword [esp + 0x490], eax
xor eax, eax
mov dword [esp + 0x48c], ecx
mov ecx, dword [0x48bc98]
mov dword [esp + 0x478], edx
mov dword [esp + 0x494], eax
mov dword [esp + 0x498], eax
mov dword [esp + 0x49c], eax
mov eax, dword [0x48bca0]
mov dword [esp + 0x4a0], edx
mov edx, dword [0x48bc9c]
mov dword [esp + 0x4a8], ecx
mov ecx, dword [0x48bca4]
mov dword [esp + 0x4ac], edx
mov edx, dword [0x48bca8]
mov dword [esp + 0x4b0], eax
xor eax, eax
mov dword [esp + 0x4b4], ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x450], esi
mov dword [esp + 0x454], ebp
mov dword [esp + 0x47c], ebp
mov dword [esp + 0x4a4], ebp
mov dword [esp + 0x4b8], edx
mov dword [esp + 0x4bc], eax
mov dword [esp + 0x4c0], eax
mov dword [esp + 0x4c4], eax
mov dword [esp + 0x4c8], 0xf
mov dword [esp + 0x4cc], ebp
mov word [esp + 0x4d0], ax
mov dword [esp + 0x4d2], eax
mov dword [esp + 0x4d6], eax
mov dword [esp + 0x4da], eax
mov dword [esp + 0x4de], eax
mov dword [esp + 0x4e2], eax
mov dword [esp + 0x4e6], eax
mov dword [esp + 0x4ea], eax
mov word [esp + 0x4ee], ax
mov dword [esp + 0x4f0], edi
mov dword [esp + 0x4f4], edi
call fcn.0040acd7
mov dword [ebx + 0xc], edi
mov dword [ebx], edi
mov dword [ebx + 4], edi
mov dword [ebx + 0x14], edi
mov dword [ebx + 8], ebp
jmp 0x4627a1
mov esi, dword [esp + 0x500]
call 0x400857
cmp word [eax], 0
je 0x4627c1
call 0x400857
cmp word [eax], 0x3b
je 0x4627c1
inc edi
jmp 0x4627a1
lea ecx, [esp + 0x10]
test edi, edi
je 0x46288d
mov esi, dword [esp + 0x500]
push edi
push 0
push esi
push ecx
call fcn.0045f545
call 0x400857
cmp word [eax], 0x3b
lea eax, [edi + 1]
je 0x4627ee
mov eax, edi
xor edi, edi
call fcn.0040b3b7
mov eax, dword [esp + 0x14]
test eax, eax
je 0x46281e
lea edi, [eax - 1]
lea esi, [esp + 0x10]
call 0x400857
cmp word [eax], 0x2a
jne 0x46281e
mov eax, 1
mov dword [ebx + 0xc], eax
call fcn.0040b3b7
jmp 0x462825
mov dword [ebx + 0xc], 0
xor esi, esi
lea edi, [esp + 0x20]
cmp word [edi], 0
je 0x462889
mov edx, dword [esp + 0x10]
push edx
push edi
call fcn.00410247
add esp, 8
test eax, eax
je 0x462863
inc esi
add edi, 0x28
test esi, esi
jge 0x46282b
lea ecx, [esp + 0x10]
call fcn.00401297
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4ec
ret 8
lea eax, [esi + esi*4]
add eax, eax
add eax, eax
add eax, eax
cmp dword [ebx + 0xc], 1
mov ecx, dword [esp + eax + 0x40]
mov dword [ebx + 8], ecx
jne 0x46287e
mov dword [ebx + 0x10], ebp
jmp 0x462885
mov edx, dword [esp + eax + 0x44]
mov dword [ebx + 0x10], edx
test esi, esi
jge 0x4628a1
lea ecx, [esp + 0x10]
call fcn.00401297
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4ec
ret 8
lea ecx, [esp + 0x10]
call fcn.00401297
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x4ec
ret 8