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

Disassembly:
sub esp, 0x130
mov eax, dword [0x6d8dfc]
xor eax, esp
mov dword [esp + 0x128], eax
cmp dword [edx + 0x28], 0
mov eax, dword [esp + 0x134]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x144]
mov dword [esp + 0x10], esi
mov dword [esp + 0x30], edx
lea ebx, [ecx + eax]
mov dword [esp + 0x1c], 0x1f
lea esi, [eax + 4]
je 0x412d76
mov dword [esp + 0x20], 0
jmp 0x412d7c
mov ecx, dword [esi]
mov dword [esp + 0x20], ecx
add esi, 4
mov edx, ebx
sub edx, esi
push edx
lea eax, [esp + 0x18]
push esi
mov ebp, 0xff
push eax
mov ecx, edi
mov dword [esp + 0x20], ebp
call fcn.0043e2e0
add esp, 0xc
cmp eax, 0xffffff88
jbe 0x412dbf
mov eax, 0xffffffe2
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.005d06f7
add esp, 0x130
ret
cmp dword [esp + 0x14], ebp
jb 0x412da2
add esi, eax
mov ecx, ebx
sub ecx, esi
push ecx
push esi
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.0043d530
mov ebp, eax
add esp, 0x14
cmp ebp, 0xffffff88
ja 0x412da2
mov eax, dword [esp + 0x2c]
cmp eax, 8
ja 0x412da2
mov edx, dword [esp + 0x10]
push 0x1800
push edx
push eax
push 0x1f
lea eax, [esp + 0x48]
push eax
lea ecx, [edi + 0x404]
push ecx
call fcn.0042d790
add esp, 0x18
cmp eax, 0xffffff88
ja 0x412da2
add esi, ebp
mov edx, ebx
sub edx, esi
push edx
push esi
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0xd0]
push edx
mov dword [esp + 0x28], 0x34
call fcn.0043d530
mov ebp, eax
add esp, 0x14
cmp ebp, 0xffffff88
ja 0x412da2
mov edx, dword [esp + 0x24]
cmp edx, 9
ja 0x412da2
mov ecx, dword [esp + 0x14]
cmp ecx, 0x34
jb 0x412da2
xor eax, eax
jmp 0x412e70
cmp word [esp + eax*2 + 0xc0], 0
je 0x412da2
inc eax
cmp eax, 0x34
jbe 0x412e70
mov eax, dword [esp + 0x10]
push 0x1800
push eax
push edx
push ecx
lea ecx, [esp + 0xd0]
push ecx
lea edx, [edi + 0x708]
push edx
call fcn.0042d790
add esp, 0x18
cmp eax, 0xffffff88
ja 0x412da2
add esi, ebp
mov eax, ebx
sub eax, esi
push eax
push esi
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x88]
push eax
mov dword [esp + 0x2c], 0x23
call fcn.0043d530
mov ebp, eax
add esp, 0x14
cmp ebp, 0xffffff88
ja 0x412da2
mov edx, dword [esp + 0x34]
cmp edx, 9
ja 0x412da2
mov ecx, dword [esp + 0x18]
cmp ecx, 0x23
jb 0x412da2
xor eax, eax
cmp word [esp + eax*2 + 0x78], 0
je 0x412da2
inc eax
cmp eax, 0x23
jbe 0x412f02
mov eax, dword [esp + 0x10]
push 0x1800
push eax
push edx
push ecx
lea ecx, [esp + 0x88]
push ecx
lea edx, [edi + 0xcb4]
push edx
call fcn.0042d790
add esp, 0x18
cmp eax, 0xffffff88
ja 0x412da2
add esi, ebp
lea edx, [esi + 0xc]
cmp edx, ebx
ja 0x412da2
mov eax, dword [esi]
lea ecx, [edi + 0x11e4]
mov dword [ecx], eax
mov eax, dword [esi + 4]
mov dword [edi + 0x11e8], eax
mov esi, dword [esi + 8]
sub ebx, edx
mov dword [edi + 0x11ec], esi
cmp ebx, 0xfffdffff
ja 0x412f8f
lea eax, [ebx + 0x20000]
bsr eax, eax
mov esi, eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x10], eax
cmp esi, 0x1f
jb 0x412f94
mov esi, 0x1f
cmp dword [esp + 0x1c], esi
jb 0x412da2
xor eax, eax
cmp word [esp + eax*2 + 0x38], 0
je 0x412da2
inc eax
cmp eax, esi
jbe 0x412fa0
xor eax, eax
mov esi, dword [ecx]
test esi, esi
je 0x412da2
cmp esi, ebx
ja 0x412da2
inc eax
add ecx, 4
cmp eax, 3
jb 0x412fb3
mov ecx, dword [esp + 0x148]
mov eax, 2
push ecx
mov dword [edi + 0x400], eax
mov dword [edi + 0x11d8], eax
mov dword [edi + 0x11dc], eax
mov dword [edi + 0x11e0], eax
mov eax, dword [esp + 0x34]
push ebx
push eax
mov eax, dword [esp + 0x34]
call fcn.00412c30
add esp, 0xc
cmp eax, 0xffffff88
ja 0x41300e
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x134]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005d06f7
add esp, 0x130
ret