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

Disassembly:
mov ecx, dword [0x85d3cc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x612dcc
sub esp, 0x5c
mov eax, dword [esp + 0x60]
movzx ecx, byte [eax + 0x15]
test cl, cl
jne 0x612a7f
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0x78]
mov ebx, dword [eax]
test edx, edx
je 0x612a5e
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x58], ecx
mov edx, dword [ecx + 0xb4]
mov ebp, dword [eax + 8]
mov dword [esp + 0x44], ebp
mov esi, dword [eax + 4]
mov dword [esp + 0x30], esi
mov edi, dword [ecx + 0xb0]
mov eax, dword [ecx + 0xb8]
test edx, edx
jne 0x612a93
mov eax, dword [0x832f34]
mov dword [esp + 0x24], eax
movzx edx, word [ecx + 0xc]
mov word [esp + 0x22], dx
lea ebx, [0x662160]
mov dword [esp], ebx
mov dword [esp + 4], 0
mov dword [esp + 8], eax
call fcn.0044d740
mov eax, dword [esp + 0xc]
mov ecx, dword [0x832f30]
mov dword [esp + 0x54], ecx
mov edx, dword [0x832f34]
mov dword [esp + 0x38], edx
movzx ebx, word [esp + 0x22]
mov ebp, dword [esp + 0x24]
xor esi, esi
xor edi, edi
jmp 0x612d5f
mov dword [esp], ebx
mov byte [esp + 4], 0x6d
call fcn.005e74d0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
add esp, 0x5c
ret
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
add esp, 0x5c
ret
mov dword [esp + 0x28], edx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x2c], eax
lea ecx, [0x682c60]
mov dword [esp], ecx
call fcn.0040c260
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx + 0x2c]
mov ebx, dword [ecx + 0x30]
mov ebp, dword [ecx + 0x28]
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov edx, dword [0x85d680]
test edx, edx
je 0x612ad5
call fcn.00468030
mov dword [edi], ebp
mov dword [eax], ebp
mov edx, dword [ecx + 0x44]
mov ebx, dword [ecx + 0x40]
mov dword [eax + 0x10], edx
mov edx, dword [0x85d680]
test edx, edx
je 0x612af1
call fcn.00468030
mov dword [edi], ebx
mov dword [eax + 0xc], ebx
mov edx, dword [ecx + 0x50]
mov ebx, dword [ecx + 0x54]
mov ebp, dword [ecx + 0x4c]
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], ebx
mov edx, dword [0x85d680]
test edx, edx
je 0x612b14
call fcn.00468030
mov dword [edi], ebp
mov dword [eax + 0x14], ebp
mov edx, dword [ecx + 0x5c]
mov ebx, dword [ecx + 0x60]
mov ebp, dword [ecx + 0x58]
mov dword [eax + 0x24], edx
mov dword [eax + 0x28], ebx
mov edx, dword [0x85d680]
test edx, edx
je 0x612b37
call fcn.00468030
mov dword [edi], ebp
mov dword [eax + 0x20], ebp
mov edx, dword [ecx + 0x78]
mov ebx, dword [ecx + 0x7c]
mov ebp, dword [ecx + 0x74]
mov dword [eax + 0x30], edx
mov dword [eax + 0x34], ebx
mov edx, dword [0x85d680]
test edx, edx
je 0x612b5a
call fcn.00468030
mov dword [edi], ebp
mov dword [eax + 0x2c], ebp
mov edx, dword [ecx + 0xa4]
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa0]
mov dword [eax + 0x3c], edx
mov dword [eax + 0x40], ebx
mov edx, dword [0x85d680]
test edx, edx
je 0x612b86
call fcn.00468030
mov dword [edi], ecx
mov dword [eax + 0x38], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x48], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x4c], ecx
mov ecx, dword [0x85d680]
test ecx, ecx
jne 0x612ba7
mov ecx, dword [esp + 0x3c]
jmp 0x612bb2
call fcn.00468030
mov ecx, dword [esp + 0x3c]
mov dword [edi], ecx
mov dword [eax + 0x44], ecx
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
mov dword [eax + 0x50], edx
mov edx, dword [0x85d680]
test edx, edx
je 0x612bd2
call fcn.00468030
mov dword [edi], ebx
mov dword [eax + 0x54], ebx
mov edx, dword [0x85d680]
mov ebx, dword [ecx + 0x2c]
test edx, edx
je 0x612be9
call fcn.00468030
mov dword [edi], ebx
mov dword [eax + 0x58], ebx
mov edx, dword [esp + 0x30]
mov dword [eax + 0x5c], edx
mov edx, dword [0x85d680]
test edx, edx
jne 0x612c03
mov edx, dword [esp + 0x44]
jmp 0x612c0e
call fcn.00468030
mov edx, dword [esp + 0x44]
mov dword [edi], edx
mov dword [eax + 0x60], edx
mov edx, dword [ecx + 0x2c]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.005e0cc0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test eax, eax
je 0x612c9f
mov dword [esp + 0x50], ecx
mov dword [esp + 0x40], edx
mov eax, dword [esp + 0xc]
cmp dword [0x832888], eax
jne 0x612c67
mov ecx, dword [esp + 0x10]
mov edx, dword [0x83288c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00404260
movzx eax, byte [esp + 0xc]
test al, al
jne 0x612c7a
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.005e74d0
jmp 0x612c8b
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov byte [esp + 4], 0x70
call fcn.005e74d0
mov eax, dword [esp + 0x50]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x68], eax
add esp, 0x5c
ret
mov eax, dword [esp + 8]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x4c]
movzx edx, word [ecx + 0x28]
mov ebx, dword [esp + 0x60]
mov ebp, dword [ebx + 0xc]
mov esi, dword [ebp + 0x74]
mov edi, dword [ebp + 0x78]
mov ebp, dword [ebp + 0x7c]
mov word [esp], dx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebp
call fcn.005ddb40
movzx eax, word [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x60]
mov word [ebp + 0x20], ax
test ecx, ecx
jne 0x612d2d
mov eax, dword [0x85d680]
test eax, eax
jne 0x612d05
mov eax, dword [esp + 0x48]
jmp 0x612d16
call fcn.00468040
mov eax, dword [esp + 0x48]
mov dword [edi], eax
mov ecx, dword [ebp + 0x1c]
mov dword [edi + 4], ecx
mov dword [ebp + 0x1c], eax
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
add esp, 0x5c
ret
mov dword [esp + 0x40], ebx
mov dword [esp + 0x50], edx
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov byte [esp + 4], 0x28
call fcn.005e74d0
mov eax, dword [esp + 0x50]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x68], eax
add esp, 0x5c
ret
inc esi
mov ecx, dword [esp + 0x54]
cmp esi, edx
jge 0x612dc1
movzx ecx, word [ecx + esi*2]
cmp cx, bx
ja 0x612d5a
inc edi
cmp ebp, edi
jae 0x612dba
mov dword [esp + 0x34], esi
mov word [esp + 0x20], cx
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x662160]
mov dword [esp + 0x10], eax
call fcn.0044d800
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
movzx ecx, word [esp + 0x20]
mov edx, dword [esp + 0x38]
movzx ebx, word [esp + 0x22]
mov esi, dword [esp + 0x34]
mov word [eax + edi*2 - 2], cx
jmp 0x612d5a
mov edx, edi
mov edi, eax
mov eax, ebp
jmp 0x612a93
call fcn.00466c30
jmp fcn.006129a0