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

Disassembly:
push 0xffffffffffffffff
push 0x475208
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x4a3140]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a3140]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov dword [esp + 0x20], edx
mov edi, dword [esp + 0x78]
mov eax, ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], ecx
lea esi, [edi + 0x20]
cmp eax, edx
je 0x4621ee
cmp dword [edi + 8], 0
mov ebp, dword [ecx + 0x10]
mov bl, byte [esp + 0x80]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x18], 0
jbe 0x461e52
jmp 0x461da0
cmp word [esi], 0
mov edx, dword [esp + 0x14]
mov edi, edx
jne 0x461de0
movzx ecx, word [edx]
test bl, bl
je 0x461dc2
mov eax, dword [ebp]
mov edx, dword [eax]
call fcn.0046ec10
movzx eax, ax
jmp 0x461dc4
mov eax, ecx
movzx ecx, word [esi]
cmp ax, cx
je 0x461e70
test cx, cx
jne 0x461e3c
add esi, 2
cmp word [esi], 0
je 0x461dd5
jmp 0x461e3c
cmp edi, dword [esp + 0x20]
je 0x461e24
movzx ecx, word [edi]
test bl, bl
je 0x461e00
mov eax, dword [ebp]
mov edx, dword [eax]
call fcn.0046ec10
mov edx, dword [esp + 0x14]
movzx eax, ax
jmp 0x461e02
mov eax, ecx
cmp ax, word [esi]
jne 0x461e24
add esi, 2
add edi, 2
cmp word [esi], 0
jne 0x461de0
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x1c], 0
je 0x461e85
mov eax, edx
jmp 0x4621ee
cmp word [esi], 0
je 0x461e13
lea ebx, [ebx]
add esi, 2
cmp word [esi], 0
jne 0x461e30
add esi, 2
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [ecx + 8]
jb 0x461da0
mov ecx, dword [esp + 0x14]
movzx ecx, word [ecx]
test bl, bl
je 0x461e97
mov eax, dword [ebp]
mov edx, dword [eax]
call fcn.0046ec10
movzx ebx, ax
mov dword [esp + 0x20], ebx
jmp 0x461e9f
mov edx, dword [esp + 0x1c]
cmp byte [edx + 0x1c], 0
mov eax, edi
jne 0x4621ee
jmp 0x4621eb
lea eax, [edx + 2]
cmp edi, edx
je 0x4621ee
mov eax, edi
jmp 0x4621ee
mov edx, ecx
mov dword [esp + 0x20], edx
mov ebx, ecx
mov edi, dword [esp + 0x1c]
mov eax, dword [edi + 0xc]
xor ecx, ecx
cmp eax, ecx
jne 0x461eb5
cmp dword [edi + 0x10], ecx
je 0x462188
xor edx, edx
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ecx
mov word [esp + 0x2c], dx
mov dword [esp + 0x70], ecx
cmp eax, ecx
je 0x46205b
mov eax, dword [esp + 0x28]
test dword [eax + 0x18], 0x200000
jne 0x461ef8
mov edi, 1
xor ecx, ecx
mov word [esp + 0x2c], bx
mov dword [esp + 0x3c], edi
mov word [esp + 0x2e], cx
jmp 0x461f46
xor edx, edx
lea eax, [esp + 0x1a]
push eax
lea ecx, [esp + 0x1c]
mov word [esp + 0x1e], dx
push ecx
lea edx, [esp + 0x50]
push edx
mov ecx, ebp
mov word [esp + 0x24], bx
call fcn.0045b460
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x74], 1
call fcn.00410c10
cmp dword [esp + 0x5c], 8
mov byte [esp + 0x70], 0
jb 0x461f42
mov eax, dword [esp + 0x48]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x1c]
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
jbe 0x46205b
xor ecx, ecx
cmp cx, word [esi]
jne 0x461f79
test edi, edi
je 0x461fb0
cmp edi, 1
jne 0x461f79
cmp dword [esp + 0x40], 8
mov eax, dword [esp + 0x2c]
jae 0x461f74
lea eax, [esp + 0x2c]
cmp word [eax], cx
je 0x461fb0
mov eax, esi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x461f80
sub eax, edx
sar eax, 1
push eax
push esi
push edi
push 0
lea ecx, [esp + 0x3c]
call fcn.00417700
test eax, eax
js 0x462030
mov edi, dword [esp + 0x3c]
lea esp, [esp]
add esi, 2
cmp word [esi], 0
jne 0x461fb0
add esi, 2
xor edx, edx
cmp dx, word [esi]
jne 0x461fe0
test edi, edi
je 0x462006
cmp edi, 1
jne 0x461fe0
cmp dword [esp + 0x40], 8
mov eax, dword [esp + 0x2c]
jae 0x461fdb
lea eax, [esp + 0x2c]
cmp word [eax], dx
je 0x462006
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x461fe5
sub eax, edx
sar eax, 1
push eax
push esi
push edi
push 0
lea ecx, [esp + 0x3c]
call fcn.00417700
test eax, eax
jg 0x462040
cmp byte [ebp + 0x1c], 0
mov esi, dword [esp + 0x14]
jne 0x462013
add esi, 2
cmp dword [esp + 0x40], 8
jb 0x462027
mov eax, dword [esp + 0x2c]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
jmp 0x4621ee
add esi, 2
cmp word [esi], 0
jne 0x462030
add esi, 2
lea esp, [esp]
add esi, 2
cmp word [esi], 0
jne 0x462040
inc ebx
add esi, 2
cmp ebx, dword [ebp + 0xc]
jae 0x46205b
mov edi, dword [esp + 0x3c]
jmp 0x461f55
mov ecx, dword [esp + 0x1c]
cmp dword [ecx + 0x10], 0
je 0x462149
mov dx, word [esp + 0x20]
xor eax, eax
lea ecx, [esp + 0x1a]
push ecx
mov ecx, dword [esp + 0x28]
mov word [esp + 0x1c], dx
lea edx, [esp + 0x1c]
mov word [esp + 0x1e], ax
push edx
lea eax, [esp + 0x50]
push eax
call fcn.00461b10
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x74], 2
call fcn.00410c10
cmp dword [esp + 0x5c], 8
mov byte [esp + 0x70], 0
jb 0x4620ba
mov ecx, dword [esp + 0x48]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ebx, dword [esp + 0x1c]
xor ebp, ebp
xor edx, edx
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], ebp
mov word [esp + 0x48], dx
cmp dword [ebx + 0x10], ebp
jbe 0x462149
jmp 0x4620e0
mov edi, dword [esp + 0x3c]
xor eax, eax
cmp ax, word [esi]
jne 0x462111
test edi, edi
je 0x4621a4
cmp edi, 1
jne 0x462111
cmp dword [esp + 0x40], 8
mov eax, dword [esp + 0x2c]
jae 0x462107
lea eax, [esp + 0x2c]
cmp word [eax], 0
je 0x4621a4
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x462116
sub eax, edx
sar eax, 1
push eax
push esi
push edi
push 0
lea ecx, [esp + 0x3c]
call fcn.00417700
test eax, eax
je 0x4621a4
add esi, 2
cmp word [esi], 0
jne 0x462137
inc ebp
add esi, 2
cmp ebp, dword [ebx + 0x10]
jb 0x4620e0
cmp dword [esp + 0x40], 8
mov dword [esp + 0x70], 0xffffffff
jb 0x462165
mov edx, dword [esp + 0x2c]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
mov ecx, dword [edi + 0x14]
push ecx
push ebx
mov ecx, ebp
call fcn.00459260
cmp al, 1
jne 0x4621cd
cmp byte [edi + 0x1c], 0
mov eax, dword [esp + 0x14]
jne 0x4621ee
jmp 0x4621eb
cmp byte [ebx + 0x1c], 0
mov esi, dword [esp + 0x14]
jne 0x4621b1
add esi, 2
cmp dword [esp + 0x40], 8
jb 0x462027
mov ecx, dword [esp + 0x2c]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
jmp 0x4621ee
mov eax, dword [edi + 0x18]
test eax, eax
je 0x4621e1
push eax
push ebx
mov ecx, ebp
call fcn.00459260
test al, al
je 0x462198
cmp byte [edi + 0x1c], 0
mov eax, dword [esp + 0x14]
je 0x4621ee
add eax, 2
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.00456bde
add esp, 0x60
ret 0xc