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

Disassembly:
push 0xffffffffffffffff
push 0x484b6d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov eax, dword [esp + 0x58]
push ebx
push ebp
mov ebp, ecx
push esi
lea ecx, [esp + 0x30]
push edi
xor ebx, ebx
push ecx
mov ecx, dword [esp + 0x68]
mov edi, 0xd
push ebx
push eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x50], edi
mov dword [ebp], eax
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
call fcn.00413a60
cmp dword [eax], 8
jne 0x412862
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
call dword [edx + 0x38]
lea ecx, [esp + 0x24]
push ecx
push 0x497694
mov ecx, eax
call fcn.00411ad0
mov esi, dword [eax]
xor edx, edx
cmp esi, 1
sete dl
mov eax, edx
cmp eax, ebx
jne 0x412432
lea ecx, [esp + 0x24]
call fcn.00411e80
jmp 0x412862
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x24]
mov dword [ebp + 4], eax
call fcn.00411e80
cmp dword [ebp + 4], ebx
jle 0x412862
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
call dword [edx + 0x38]
lea ecx, [esp + 0x24]
push ecx
push 0x49768c
mov ecx, eax
call fcn.00411ad0
mov esi, dword [eax]
xor edx, edx
cmp esi, 1
sete dl
mov eax, edx
cmp eax, ebx
jne 0x412483
lea ecx, [esp + 0x24]
call fcn.00411e80
jmp 0x412862
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], esi
call fcn.00411e80
cmp esi, ebx
jl 0x412862
mov esi, dword [ebp + 4]
mov eax, esi
shl eax, 4
push eax
call fcn.0047c2dc
add esp, 4
cmp eax, ebx
je 0x4124c5
lea edx, [esi - 1]
mov ecx, eax
cmp edx, ebx
jl 0x4124c7
inc edx
mov dword [ecx], edi
add ecx, 0x10
dec edx
jne 0x4124bb
jmp 0x4124c7
xor eax, eax
mov ecx, dword [ebp + 4]
push 4
push ecx
mov dword [ebp + 8], eax
call fcn.0041b6d0
mov edx, dword [ebp + 4]
push 4
push edx
mov dword [ebp + 0xc], eax
call fcn.0041b6d0
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x78], eax
add esp, 0x10
mov eax, dword [ecx]
call dword [eax + 8]
push 0x28
mov dword [esp + 0x28], 5
call fcn.0047c2dc
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov dword [esp + 0x5c], ebx
je 0x41252b
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x40]
push 1
push edx
push ecx
mov ecx, eax
call fcn.0041e4b0
mov ebx, eax
push 0x38
mov dword [esp + 0x60], 0xffffffff
call fcn.0047c2dc
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
test esi, esi
mov dword [esp + 0x5c], 1
je 0x412592
push 0xa0
call fcn.0047c2dc
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x5c], 2
je 0x412578
mov edx, dword [esp + 0x64]
push ebx
push edx
mov ecx, eax
call fcn.0041c050
jmp 0x41257a
xor eax, eax
push 0
push eax
mov eax, dword [esp + 0x6c]
mov ecx, esi
push eax
mov byte [esp + 0x68], 1
call fcn.0041b850
mov edi, eax
jmp 0x412594
xor edi, edi
mov eax, dword [ebp + 4]
xor esi, esi
test eax, eax
mov dword [esp + 0x5c], 0xffffffff
jle 0x412646
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x34]
push 0
push ecx
mov ecx, edi
call fcn.0041b8d0
push 0
push 0
push 0
push 0
lea edx, [esp + 0x54]
push 0
push edx
mov ecx, edi
call fcn.0041b8d0
mov ecx, dword [esp + 0x24]
mov eax, 1
cmp ecx, eax
jne 0x4126c7
cmp dword [esp + 0x44], eax
jne 0x4126c7
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x2c]
mov dword [eax + esi*4], ecx
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0x24]
mov dword [eax + esi*4], edx
call fcn.00411e80
lea ecx, [esp + 0x44]
call fcn.00411e80
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + esi*4]
mov ecx, dword [esp + 0x68]
test eax, eax
jl 0x4126a9
mov eax, dword [ecx + esi*4]
test eax, eax
jl 0x4126a9
test esi, esi
jle 0x41263a
cmp eax, dword [ecx + esi*4 - 4]
jl 0x4126a9
mov eax, dword [ebp + 4]
inc esi
cmp esi, eax
jl 0x4125a9
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10]
cmp eax, 0xffffffff
je 0x41265e
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x10]
cmp eax, 0xffffffff
jne 0x412652
xor ebx, ebx
cmp edi, ebx
je 0x412674
mov ecx, edi
call fcn.0041b8a0
push edi
call fcn.0047c305
add esp, 4
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0x18]
cmp esi, dword [edi]
jge 0x412690
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov eax, dword [edi]
inc esi
cmp esi, eax
jl 0x412680
mov eax, dword [ebp + 4]
mov dword [esp + 0x10], ebx
cmp eax, ebx
jle 0x412859
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], edi
jmp 0x4126fb
test edi, edi
je 0x4126c1
mov ecx, edi
call fcn.0041b8a0
push edi
call fcn.0047c305
mov ecx, dword [esp + 0x6c]
add esp, 4
push ecx
jmp 0x41285a
lea ecx, [esp + 0x24]
call fcn.00411e80
lea ecx, [esp + 0x44]
call fcn.00411e80
test edi, edi
je 0x4126ed
mov ecx, edi
call fcn.0041b8a0
push edi
call fcn.0047c305
add esp, 4
mov edx, dword [esp + 0x68]
push edx
jmp 0x41285a
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
dec eax
mov ebx, 5
cmp ecx, eax
mov dword [esp + 0x24], ebx
push 0x28
jne 0x41273e
call fcn.0047c2dc
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov dword [esp + 0x5c], 3
je 0x412773
mov edx, dword [esp + 0x3c]
push 0
lea ecx, [esp + 0x28]
push 0
push ecx
push edx
mov ecx, eax
call fcn.0041e4b0
jmp 0x412775
call fcn.0047c2dc
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov dword [esp + 0x5c], 4
je 0x412773
mov ecx, dword [edi + 4]
mov esi, dword [edi]
sub ecx, esi
lea edx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x40]
push 1
push edx
push ecx
mov ecx, eax
call fcn.0041e4b0
jmp 0x412775
xor eax, eax
push 0x38
mov dword [esp + 0x60], 0xffffffff
mov esi, eax
call fcn.0047c2dc
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
test edi, edi
mov dword [esp + 0x5c], ebx
je 0x4127da
push 0xa0
call fcn.0047c2dc
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov byte [esp + 0x5c], 6
je 0x4127c0
mov edx, dword [esp + 0x64]
push esi
push edx
mov ecx, eax
call fcn.0041c050
jmp 0x4127c2
xor eax, eax
push 0
push eax
mov eax, dword [esp + 0x6c]
mov ecx, edi
push eax
mov byte [esp + 0x68], 5
call fcn.0041b850
mov edi, eax
jmp 0x4127dc
xor edi, edi
mov ecx, dword [esp + 0x18]
mov ebx, dword [ebp + 8]
push 0
push 0
push 0
push 0
add ecx, ebx
push 0
push ecx
mov ecx, edi
mov dword [esp + 0x74], 0xffffffff
call fcn.0041b8d0
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x10]
cmp eax, 0xffffffff
je 0x412817
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
cmp eax, 0xffffffff
jne 0x41280b
test edi, edi
je 0x41282b
mov ecx, edi
call fcn.0041b8a0
push edi
call fcn.0047c305
add esp, 4
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [ebp + 4]
inc ecx
add edi, 4
add esi, 0x10
cmp ecx, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], esi
jl 0x4126f7
mov edi, dword [esp + 0x68]
push edi
call fcn.0041b800
add esp, 4
lea ecx, [esp + 0x34]
call fcn.00411e80
mov ecx, dword [esp + 0x54]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 8