Function at 0x46107f
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 [0x48c874]
mov ecx, dword [0x48c878]
mov edx, dword [str.wstr]
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 [0x48c880]
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 [0x48c88c]
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 [0x48c898]
mov dword [esp + 0x24], ecx
movzx ecx, word [0x48c884]
mov dword [esp + 0x48], edx
mov edx, dword [0x48c888]
mov word [esp + 0xa0], ax
xor eax, eax
mov word [esp + 0x50], cx
mov ecx, dword [0x48c890]
mov dword [esp + 0x70], edx
mov edx, dword [0x48c894]
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 [0x48c8a4]
mov ebp, 4
mov dword [esp + 0x98], ecx
mov ecx, dword [0x48c89c]
mov dword [esp + 0x9c], edx
mov edx, dword [0x48c8a0]
xor edi, edi
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], edx
mov edx, dword [0x48c8a8]
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 [0x48c8ac]
movzx edx, word [0x48c8b0]
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 [0x48c8b4]
mov dword [esp + 0x110], eax
mov eax, dword [0x48c8bc]
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 [0x48c8c4]
mov dword [esp + 0x13c], eax
xor eax, eax
mov word [esp + 0xf0], dx
mov edx, dword [0x48c8b8]
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 [str.short]
mov dword [esp + 0x114], edx
mov edx, dword [0x48c8c0]
mov dword [esp + 0x160], eax
xor eax, eax
mov dword [esp + 0x138], edx
mov edx, dword [0x48c8c8]
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 [0x48c8d8]
mov dword [esp + 0x140], edx
mov edx, dword [0x48c8d4]
mov dword [esp + 0x188], eax
movzx eax, word [0x48c8e4]
mov dword [esp + 0x168], edx
mov edx, dword [0x48c8e0]
mov dword [esp + 0x130], ecx
mov dword [esp + 0x158], ecx
mov ecx, dword [0x48c8d0]
mov word [esp + 0x194], ax
xor eax, eax
mov dword [esp + 0x190], edx
mov edx, dword [0x48c8e8]
mov dword [esp + 0x164], ecx
mov ecx, dword [0x48c8dc]
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 [0x48c8ec]
mov dword [esp + 0x1b0], edx
movzx edx, word [0x48c8f0]
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 [0x48c8fc]
mov dword [esp + 0x1c2], eax
mov dword [esp + 0x1c6], eax
mov dword [esp + 0x1ca], eax
mov word [esp + 0x1ce], ax
mov eax, dword [0x48c8f4]
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 [0x48c900]
mov dword [esp + 0x200], eax
mov eax, dword [0x48c908]
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 [0x48c910]
mov dword [esp + 0x1d0], ecx
mov ecx, dword [0x48c8f8]
mov dword [esp + 0x22c], eax
mov eax, dword [0x48c918]
mov dword [esp + 0x1dc], ecx
mov word [esp + 0x1e0], dx
mov edx, dword [0x48c904]
mov dword [esp + 0x234], eax
xor eax, eax
mov ecx, 1
mov dword [esp + 0x1f8], ecx
mov dword [esp + 0x204], edx
mov edx, dword [0x48c90c]
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 [0x48c924]
mov dword [esp + 0x248], ecx
mov ecx, dword [str.float]
mov dword [esp + 0x228], edx
mov edx, dword [0x48c914]
mov dword [esp + 0x250], ecx
mov ecx, dword [str.double]
mov dword [esp + 0x258], eax
xor eax, eax
mov dword [esp + 0x230], edx
mov edx, dword [0x48c920]
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 [0x48c930]
mov dword [esp + 0x278], ecx
movzx ecx, word [0x48c934]
mov dword [esp + 0x254], edx
mov edx, dword [0x48c92c]
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 [0x48c93c]
mov edx, dword [0x48c938]
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 [0x48c944]
mov dword [esp + 0x2cc], eax
xor eax, eax
mov dword [esp + 0x2a0], edx
mov edx, dword [str.hwnd]
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 [str.handle]
mov dword [esp + 0x2c8], edx
movzx edx, word [0x48c948]
mov dword [esp + 0x2f0], eax
mov eax, dword [0x48c954]
mov word [esp + 0x2d0], dx
mov edx, dword [0x48c950]
mov dword [esp + 0x2f8], eax
xor eax, eax
mov dword [esp + 0x2f4], edx
movzx edx, word [0x48c958]
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 [0x48c95c]
mov dword [esp + 0x318], eax
mov eax, dword [0x48c964]
mov word [esp + 0x2fc], dx
mov edx, dword [0x48c960]
mov dword [esp + 0x320], eax
xor eax, eax
mov dword [esp + 0x31c], edx
mov edx, dword [0x48c968]
mov dword [esp + 0x328], eax
mov dword [esp + 0x32c], eax
mov dword [esp + 0x330], eax
mov dword [esp + 0x334], eax
mov eax, dword [0x48c96c]
mov dword [esp + 0x324], edx
mov edx, dword [0x48c970]
mov dword [esp + 0x340], eax
mov eax, dword [0x48c974]
mov dword [esp + 0x344], edx
movzx edx, word [0x48c978]
mov dword [esp + 0x348], eax
xor eax, eax
mov esi, 0xb
mov word [esp + 0x34c], dx
mov edx, dword [0x48c980]
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 [0x48c97c]
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 [0x48c984]
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 [0x48c98c]
mov dword [esp + 0x390], eax
mov eax, dword [0x48c990]
mov dword [esp + 0x394], eax
mov eax, dword [0x48c994]
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 [0x48c998]
mov dword [esp + 0x3b8], eax
mov eax, dword [0x48c99c]
mov dword [esp + 0x3bc], eax
mov eax, dword [0x48c9a0]
mov dword [esp + 0x3c0], eax
movzx eax, word [0x48c9a4]
movzx edx, word [0x48c988]
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 [0x48c9ac]
mov dword [esp + 0x3e4], eax
mov eax, dword [0x48c9b4]
mov dword [esp + 0x3b4], ecx
mov dword [esp + 0x3dc], ecx
mov ecx, dword [str.int_ptr]
mov dword [esp + 0x3ec], eax
xor eax, eax
mov dword [esp + 0x3e0], ecx
mov ecx, dword [0x48c9b0]
mov dword [esp + 0x3f0], eax
mov dword [esp + 0x3f4], eax
mov dword [esp + 0x3f8], eax
mov dword [esp + 0x3fc], eax
mov eax, dword [0x48c9bc]
mov dword [esp + 0x3e8], ecx
mov ecx, dword [0x48c9b8]
mov dword [esp + 0x40c], eax
mov eax, dword [0x48c9c4]
mov dword [esp + 0x408], ecx
mov ecx, dword [0x48c9c0]
mov dword [esp + 0x414], eax
xor eax, eax
mov dword [esp + 0x410], ecx
movzx ecx, word [0x48c9c8]
mov dword [esp + 0x41a], eax
mov dword [esp + 0x41e], eax
mov dword [esp + 0x422], eax
mov word [esp + 0x426], ax
mov eax, dword [0x48c9cc]
mov word [esp + 0x374], dx
mov edx, 0xc
mov word [esp + 0x418], cx
mov ecx, dword [0x48c9d0]
mov dword [esp + 0x430], eax
mov eax, dword [0x48c9d4]
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 [0x48c9dc]
mov ecx, dword [0x48c9d8]
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 [0x48c9e4]
mov dword [esp + 0x45c], eax
mov eax, dword [0x48c9ec]
mov dword [esp + 0x43c], ecx
mov ecx, dword [0x48c9e0]
mov dword [esp + 0x464], eax
xor eax, eax
mov dword [esp + 0x458], ecx
mov ecx, dword [0x48c9e8]
mov dword [esp + 0x46c], eax
mov dword [esp + 0x470], eax
mov dword [esp + 0x474], eax
mov eax, dword [0x48c9f4]
mov dword [esp + 0x460], ecx
mov ecx, dword [0x48c9f0]
mov dword [esp + 0x480], eax
mov eax, dword [0x48c9fc]
mov dword [esp + 0x468], ecx
mov ecx, dword [0x48c9f8]
mov dword [esp + 0x488], eax
mov eax, dword [0x48ca04]
mov dword [esp + 0x484], ecx
mov ecx, dword [0x48ca00]
mov dword [esp + 0x490], eax
xor eax, eax
mov dword [esp + 0x48c], ecx
mov ecx, dword [str.idispatch]
mov dword [esp + 0x478], edx
mov dword [esp + 0x494], eax
mov dword [esp + 0x498], eax
mov dword [esp + 0x49c], eax
mov eax, dword [0x48ca10]
mov dword [esp + 0x4a0], edx
mov edx, dword [0x48ca0c]
mov dword [esp + 0x4a8], ecx
mov ecx, dword [0x48ca14]
mov dword [esp + 0x4ac], edx
mov edx, dword [0x48ca18]
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.004071d0
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 0x461c4f
mov esi, dword [esp + 0x500]
call fcn.004016b0
cmp word [eax], 0
je 0x461c6f
call fcn.004016b0
cmp word [eax], 0x3b
je 0x461c6f
inc edi
jmp 0x461c4f
lea ecx, [esp + 0x10]
test edi, edi
je 0x461d3b
mov esi, dword [esp + 0x500]
push edi
push 0
push esi
push ecx
call fcn.0045eaab
call fcn.004016b0
cmp word [eax], 0x3b
lea eax, [edi + 1]
je 0x461c9c
mov eax, edi
xor edi, edi
call fcn.004078d0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x461ccc
lea edi, [eax - 1]
lea esi, [esp + 0x10]
call fcn.004016b0
cmp word [eax], 0x2a
jne 0x461ccc
mov eax, 1
mov dword [ebx + 0xc], eax
call fcn.004078d0
jmp 0x461cd3
mov dword [ebx + 0xc], 0
xor esi, esi
lea edi, [esp + 0x20]
cmp word [edi], 0
je 0x461d37
mov edx, dword [esp + 0x10]
push edx
push edi
call fcn.00412ae0
add esp, 8
test eax, eax
je 0x461d11
inc esi
add edi, 0x28
test esi, esi
jge 0x461cd9
lea ecx, [esp + 0x10]
call fcn.00402130
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 0x461d2c
mov dword [ebx + 0x10], ebp
jmp 0x461d33
mov edx, dword [esp + eax + 0x44]
mov dword [ebx + 0x10], edx
test esi, esi
jge 0x461d4f
lea ecx, [esp + 0x10]
call fcn.00402130
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4ec
ret 8
lea ecx, [esp + 0x10]
call fcn.00402130
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x4ec
ret 8