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

Disassembly:
jmp 0x412cb0
push 0xffffffffffffffff
push 0x5093f1
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x53bbf0]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53bbf0]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x804]
movsx edi, word [eax + 0xae]
lea ebp, [esi + 0xc]
add edi, 4
push ebp
mov dword [esp + 0x34], edi
call fcn.0049ad40
mov ebx, eax
mov eax, dword [esi + 0xd00]
mov ecx, eax
imul ecx, edi
add ebx, 0x10
cmp byte [ebp], 0
mov dword [esp + 0x34], ebx
mov dword [esp + 0x24], ecx
je 0x412d2a
lea ecx, [ecx + edi + 4]
mov dword [esp + 0x24], ecx
xor edi, edi
test eax, eax
jle 0x412d5b
lea ebp, [esi + 0x120]
mov ecx, dword [esi + 4]
push ebp
call fcn.0049ad40
cmp eax, ebx
jle 0x412d49
mov dword [esp + 0x34], eax
mov ebx, eax
add edi, 1
add ebp, 0x4c
cmp edi, dword [esi + 0xd00]
jl 0x412d36
mov ecx, dword [esp + 0x24]
mov eax, dword [esi + 0x10c]
cmp eax, 1
je 0x412d6b
cmp eax, 2
jne 0x412d72
add ebx, 8
mov dword [esp + 0x34], ebx
or edi, 0xffffffff
cmp dword [esi + 0x110], edi
jne 0x412d9c
mov edx, dword [0x563908]
mov eax, dword [edx + 0x164]
mov eax, dword [eax + 4]
sub eax, ebx
sub eax, 8
cdq
sub eax, edx
sar eax, 1
mov dword [esi + 0x110], eax
cmp dword [esi + 0x114], edi
jne 0x412dcc
mov edx, dword [0x563908]
mov eax, dword [edx + 0x164]
mov edx, dword [eax + 8]
sub edx, ecx
sub edx, 8
mov eax, 0x55555556
imul edx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esi + 0x114], eax
mov edi, dword [esi + 0x110]
mov edx, dword [esi + 0x114]
mov ebp, dword [0x563908]
lea ebx, [edi + ebx + 8]
lea ecx, [edx + ecx + 8]
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ecx
mov eax, dword [ebp + 0x164]
mov eax, dword [eax + 4]
sub eax, ebx
sub eax, 4
jns 0x412e12
add edi, eax
add ebx, eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x48], ebx
mov eax, dword [ebp + 0x164]
mov eax, dword [eax + 8]
sub eax, ecx
sub eax, 4
jns 0x412e2e
add edx, eax
add ecx, eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x4c], ecx
push 0xcc
mov dword [esi + 0x110], edi
mov dword [esi + 0x114], edx
call fcn.004c1ea3
add esp, 4
mov dword [esp + 0x3c], eax
test eax, eax
mov dword [esp + 0x74], 0
je 0x412e81
mov ecx, dword [esp + 0x4c]
sub ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
sub edx, dword [esp + 0x40]
push 1
push ecx
mov ecx, dword [0x563908]
push edx
mov edx, dword [ecx + 0x164]
push edx
mov ecx, eax
call fcn.0049fbc0
jmp 0x412e83
xor eax, eax
mov dword [esi + 0xd04], eax
cmp dword [0x576828], 2
mov dword [esp + 0x74], 0xffffffff
jne 0x412ea6
mov edx, 0x6ada
mov ecx, 0x210a
jmp 0x412eb0
mov edx, 0xd59a
mov ecx, 0x420a
movzx ebp, cx
movzx ebx, dx
mov edx, dword [eax]
push 0
push ebp
mov ecx, eax
mov eax, dword [edx + 0x3c]
push ebx
call eax
mov ecx, dword [esi + 0xd04]
mov edi, dword [ecx + 4]
mov ecx, dword [esi + 4]
lea eax, [esi + 0xc]
push eax
sub edi, 8
call fcn.0049ad40
mov ecx, dword [esi + 0xd04]
sub edi, eax
add edi, edi
mov dword [esi + 0xd14], edi
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], 1
mov edx, dword [ecx + 8]
mov dword [esp + 0x20], edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [esp + 0x14]
push edx
push ebx
call eax
mov ecx, dword [esi + 0xd04]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov edx, dword [ecx + 4]
mov dword [esp + 0x1c], edx
lea edx, [esp + 0x14]
mov dword [esp + 0x20], 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
push edx
push ebx
call eax
mov ecx, dword [esi + 0xd04]
mov dword [esp + 0x14], edi
mov edx, dword [ecx + 8]
sub edx, 1
mov dword [esp + 0x18], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x1c], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x20], edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [esp + 0x14]
push edx
push ebp
call eax
mov ecx, dword [esi + 0xd04]
mov edx, dword [ecx + 4]
sub edx, 1
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edi
mov eax, dword [ecx + 4]
mov dword [esp + 0x1c], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x20], edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [esp + 0x14]
push edx
push ebp
call eax
cmp byte [esi + 0xc], 0
mov ebp, dword [esp + 0x30]
mov edi, 4
mov dword [esp + 0x2c], edi
je 0x412ff2
mov ecx, dword [esi + 0xd04]
mov dword [esp + 0x14], edi
mov edx, dword [ecx + 4]
sub edx, edi
mov dword [esp + 0x1c], edx
lea ebx, [ebp + 4]
lea eax, [ebx - 2]
mov dword [esp + 0x18], eax
add eax, 2
lea edx, [esp + 0x14]
push edx
mov edx, dword [0x563908]
mov dword [esp + 0x24], eax
movzx edx, word [edx + 0xa0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
push edx
call eax
add ebx, edi
mov dword [esp + 0x2c], ebx
mov edi, ebx
mov ebx, dword [0x576828]
sub ebx, 2
neg ebx
sbb ebx, ebx
and ebx, 0x2d60
add ebx, 0x2d6b
push 0x420
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], ebx
call fcn.004c1ea3
add esp, 4
mov dword [esp + 0x3c], eax
test eax, eax
mov dword [esp + 0x74], 1
je 0x413049
push 0x3e7
lea ecx, [esp + 0x44]
push ecx
push 1
mov ecx, eax
call fcn.0049a5f0
jmp 0x41304b
xor eax, eax
cmp dword [esi + 0xd00], 0
mov dword [esp + 0x74], 0xffffffff
mov dword [esi + 0xd0c], eax
mov dword [esp + 0x24], 0
jle 0x413309
lea edx, [edi + 2]
mov eax, 0xfffffee0
mov dword [esp + 0x38], edx
lea edx, [esi + 0x120]
sub eax, esi
mov dword [esp + 0x28], edx
mov dword [esp + 0x3c], eax
cmp byte [edx], 0
jne 0x41311c
mov ecx, dword [esi + 0xd04]
mov edx, dword [esi + 4]
mov dword [esp + 0x14], 4
mov eax, dword [ecx + 4]
sub eax, 4
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 0x804]
movsx eax, word [eax + 0xae]
cdq
sub eax, edx
sar eax, 1
add eax, edi
mov dword [esp + 0x18], eax
add eax, 1
mov dword [esp + 0x20], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
lea eax, [esp + 0x14]
push eax
mov eax, dword [0x563908]
movzx eax, word [eax + 0xb8]
push eax
call edx
mov ecx, dword [esi + 0xd04]
lea edx, [esp + 0x14]
push edx
mov edx, dword [0x563908]
mov eax, 1
add dword [esp + 0x1c], eax
add dword [esp + 0x24], eax
movzx edx, word [edx + 0xb4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
push edx
call eax
mov edx, dword [esp + 0x28]
jmp 0x41328c
mov ecx, dword [esp + 0x50]
mov eax, dword [esi + 0x10c]
add ecx, 1
lea ebx, [eax - 1]
cmp ebx, 1
mov dword [esp + 0x50], ecx
mov ebp, 4
ja 0x4131be
cmp dword [edx + 0x44], 0
jne 0x4131b9
cmp eax, 1
mov byte [esp + 0x58], 0
jne 0x41316b
cmp ecx, 0xa
jg 0x41316b
mov edx, ecx
sub edx, 0xa
neg edx
sbb edx, edx
and edx, ecx
push edx
push 0x5116b4
lea eax, [esp + 0x60]
push eax
jmp 0x413183
cmp eax, 2
jne 0x41318b
cmp ecx, 0x1b
jge 0x41318b
add ecx, 0x40
push ecx
push 0x51183c
lea ecx, [esp + 0x60]
push ecx
call fcn.004c1313
add esp, 0xc
mov edx, dword [esp + 0x38]
mov eax, dword [esi + 0xd04]
push 0
push 3
push edx
mov edx, dword [0x563908]
push 4
push eax
push 0xa
lea ecx, [esp + 0x70]
push ecx
mov ecx, dword [edx + 0x17b0]
call fcn.0049b230
mov edx, dword [esp + 0x28]
mov ebp, 0xc
mov al, byte [edx]
test al, al
mov ebx, edx
je 0x41322d
mov edi, 0xfffffee0
sub edi, dword [esp + 0x3c]
sub edi, esi
mov edx, dword [esp + 0x28]
movsx ecx, word [edx + 0x48]
cmp edi, ecx
jne 0x4131e8
cmp dword [edx + 0x44], 0
mov ecx, 0xa
je 0x4131ed
mov ecx, 0xe
mov edx, dword [edx + 0x44]
neg edx
sbb edx, edx
push 0
and edx, 3
add edx, 3
push edx
mov edx, dword [esp + 0x40]
push edx
mov edx, dword [esi + 0xd04]
push ebp
push edx
movsx eax, al
push ecx
mov ecx, dword [esi + 4]
push eax
call fcn.0049b100
add ebx, 1
add ebp, eax
mov al, byte [ebx]
add edi, 1
test al, al
jne 0x4131d1
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
cmp dword [edx + 0x44], 0
jne 0x413284
push 0x18
call fcn.004c1ea3
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov dword [esp + 0x74], 2
je 0x413268
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x38]
push edx
push ecx
push edi
push 4
mov ecx, eax
call fcn.0049a490
jmp 0x41326a
xor eax, eax
mov ecx, dword [esi + 0xd0c]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x10]
mov dword [esp + 0x78], 0xffffffff
call eax
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x30]
cmp byte [edx], 0
je 0x4132e1
mov ecx, dword [esi + 0xd00]
sub ecx, 1
cmp dword [esp + 0x24], ecx
jge 0x4132e1
cmp byte [edx + 0x4c], 0
je 0x4132e1
mov ecx, dword [esi + 0xd04]
mov dword [esp + 0x14], 4
mov edx, dword [ecx + 4]
sub edx, 4
mov dword [esp + 0x1c], edx
lea eax, [edi + ebp - 1]
mov dword [esp + 0x18], eax
add eax, 1
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x24], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
movzx edx, bx
push edx
call eax
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
add dword [esp + 0x38], ebp
add eax, 1
add edi, ebp
add edx, 0x4c
cmp eax, dword [esi + 0xd00]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
jl 0x41308a
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.004c118f
add esp, 0x64
ret