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

Disassembly:
sub esp, 0x40
push ebx
push ebp
push esi
mov esi, ecx
lea eax, [esp + 0x2c]
xor ecx, ecx
xor ebx, ebx
push edi
mov edi, edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
lea edx, [esp + 0x44]
mov dword [esp + 0x3c], ecx
xor ebp, ebp
mov dword [esp + 0x40], ecx
mov ecx, esi
push eax
mov dword [esp + 0x30], ebx
call fcn.00610270
add esp, 4
cmp al, 1
jne 0x6128ff
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x44]
cmp eax, 0x7da
ja 0x6126ab
je 0x612693
add eax, 0xfffff830
cmp eax, 9
ja case.default.0x6126ca
jmp dword [eax*4 + 0x612908]
push 3
mov edx, edi
mov ecx, esi
call fcn.00614650
add esp, 4
jmp 0x612867
push 3
lea edx, [edi + 0xc]
mov ecx, esi
call fcn.00614650
add esp, 4
jmp 0x612867
lea edx, [esp + 0x10]
mov ecx, esi
call fcn.00614590
mov bl, al
test bl, bl
je 0x6128af
push dword [esp + 0x10]
lea ecx, [edi + 0x24]
call fcn.006132d0
jmp 0x612869
lea edx, [esp + 0x10]
mov ecx, esi
call fcn.00614590
mov bl, al
test bl, bl
je 0x6128af
push dword [esp + 0x10]
lea ecx, [edi + 0x30]
call fcn.00613210
jmp 0x612869
lea edx, [esp + 0x10]
mov ecx, esi
call fcn.00614590
mov bl, al
test bl, bl
je 0x6128af
push dword [esp + 0x10]
lea ecx, [edi + 0x18]
call fcn.00613390
jmp 0x612869
lea edx, [esp + 0x10]
mov ecx, esi
call fcn.00614590
mov bl, al
test bl, bl
je 0x6128af
push dword [esp + 0x10]
lea ecx, [edi + 0x3c]
call fcn.00613030
jmp 0x612869
lea edx, [edi + 0x48]
mov ecx, esi
call fcn.00614590
jmp 0x612867
lea edx, [esp + 0x10]
mov ecx, esi
call fcn.00614590
mov bl, al
test bl, bl
je 0x6128af
push dword [esp + 0x10]
lea ecx, [edi + 0x54]
call fcn.00612e10
jmp 0x612869
lea edx, [esp + 0x10]
mov ecx, esi
call fcn.00614590
mov bl, al
test bl, bl
je 0x6128af
push dword [esp + 0x10]
lea ecx, [edi + 0x60]
call fcn.00612cc0
jmp 0x612869
lea edx, [edi + 0x6c]
mov ecx, esi
call fcn.00614590
jmp 0x612867
push ebp
lea ecx, [edi + 0x24]
call fcn.004bde30
mov edx, eax
mov ecx, esi
call fcn.006110f0
inc ebp
jmp 0x612867
cmp eax, 0x7e0
ja 0x6127cb
je 0x61277e
add eax, 0xfffff825
cmp eax, 4
ja case.default.0x6126ca
jmp dword [eax*4 + 0x612930]
lea ecx, [edi + 0x30]
call fcn.004b1150
mov ecx, esi
mov edx, dword [eax]
add edx, dword [esp + 0x14]
call fcn.006112f0
inc dword [esp + 0x34]
add dword [esp + 0x14], 0x28
jmp 0x612867
push ebx
lea ecx, [edi + 0x18]
call fcn.0059dab0
mov edx, eax
mov ecx, esi
call fcn.00611f80
inc dword [esp + 0x2c]
jmp 0x612867
lea ecx, [edi + 0x3c]
call fcn.004b1150
mov ecx, esi
mov edx, dword [eax]
add edx, dword [esp + 0x18]
call fcn.006115c0
inc dword [esp + 0x40]
add dword [esp + 0x18], 0x9c
jmp 0x612867
lea ecx, [edi + 0x54]
call fcn.004b1150
mov ecx, esi
mov edx, dword [eax]
add edx, dword [esp + 0x1c]
call fcn.00611000
inc dword [esp + 0x3c]
add dword [esp + 0x1c], 0x1c
jmp 0x612867
lea ecx, [edi + 0x60]
call fcn.004b1150
mov ecx, esi
mov edx, dword [eax]
add edx, dword [esp + 0x20]
call fcn.00610910
inc dword [esp + 0x38]
add dword [esp + 0x20], 0xfc
jmp 0x612867
mov eax, dword [esi]
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x28]
push ecx
mov eax, dword [eax + 4]
mov ecx, esi
push 1
push 4
call eax
test al, al
je 0x6128af
movzx edx, byte [esp + 0x27]
movzx eax, byte [esp + 0x26]
shl edx, 8
or edx, eax
mov eax, dword [esp + 0x24]
shl edx, 8
movzx ecx, ah
or edx, ecx
movzx eax, al
shl edx, 8
or edx, eax
mov dword [edi + 0x88], edx
jmp 0x612871
cmp eax, 0x7e3
ja 0x612851
je 0x612807
sub eax, 0x7e1
je 0x6127fb
sub eax, 1
jne case.default.0x6126ca
push dword [esp + 0x30]
lea edx, [edi + 0x78]
mov ecx, esi
call fcn.006145f0
add esp, 4
test al, al
je 0x6128af
jmp 0x612871
lea edx, [edi + 0x74]
mov ecx, esi
call fcn.00614590
jmp 0x612867
mov eax, dword [esi]
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x2c]
push ecx
mov eax, dword [eax + 4]
mov ecx, esi
push 1
push 4
call eax
test al, al
je 0x6128af
movzx edx, byte [esp + 0x2b]
movzx eax, byte [esp + 0x2a]
shl edx, 8
or edx, eax
mov eax, dword [esp + 0x28]
shl edx, 8
movzx ecx, ah
or edx, ecx
movzx eax, al
shl edx, 8
or edx, eax
mov dword [edi + 0x84], edx
jmp 0x612871
cmp eax, 0x800003e9
je 0x612894
mov eax, dword [esi]
mov ecx, esi
push 1
push dword [esp + 0x34]
mov eax, dword [eax + 0xc]
call eax
mov bl, al
test bl, bl
je 0x6128af
mov ebx, dword [esp + 0x2c]
lea eax, [esp + 0x30]
mov ecx, esi
push eax
lea edx, [esp + 0x48]
call fcn.00610270
add esp, 4
cmp al, 1
je 0x612540
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
lea ecx, [edi + 0x24]
call fcn.004bde60
cmp ebp, eax
je 0x6128b9
push str.Unknown_Error
push 0
call fcn.0054d050
add esp, 8
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x40
ret
lea ecx, [edi + 0x30]
call fcn.0059da60
cmp dword [esp + 0x34], eax
jne 0x6128a0
lea ecx, [edi + 0x60]
call fcn.0059d9e0
cmp dword [esp + 0x38], eax
jne 0x6128a0
lea ecx, [edi + 0x18]
call fcn.0059dae0
cmp ebx, eax
jne 0x6128a0
lea ecx, [edi + 0x54]
call fcn.00612de0
cmp dword [esp + 0x3c], eax
jne 0x6128a0
lea ecx, [edi + 0x3c]
call fcn.00613000
cmp dword [esp + 0x40], eax
jne 0x6128a0
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret