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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x559940]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [esp + 0x24], ebx
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x427212
push eax
call dword [0x55a474]
add esp, 4
mov ecx, dword [ebx + 0x18]
cmp byte [ecx + 9], 0
je 0x427229
inc dword [ecx + 0xc]
cmp byte [ecx + 0xa], 0
jne 0x427229
call fcn.004198d0
mov ecx, dword [ebx]
test ecx, ecx
je 0x427242
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x427242
push eax
call dword [0x55a474]
mov ecx, dword [ebx]
add esp, 4
mov esi, dword [ebx + 0x1c]
test esi, esi
je 0x427257
cmp esi, 5
je 0x427257
cmp esi, 6
jne 0x427a6d
mov edx, dword [ebx + 0x18]
mov edi, dword [ebx + 4]
mov dword [esp + 0x38], 0
mov esi, dword [edx + 4]
mov eax, dword [esi]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 4]
mov eax, dword [eax]
mov dword [esp + 0x20], eax
test ecx, ecx
je 0x427288
cmp byte [esi + 0x14], 2
jne 0x427288
mov esi, 5
jmp 0x4272aa
xor esi, esi
cmp byte [edx + 8], 0
jne 0x4272aa
mov ecx, dword [ebx + 0x18]
xor edx, edx
call fcn.0041cd40
mov edx, dword [ebx + 0x18]
mov esi, eax
mov edi, dword [ebx + 4]
mov dword [esp + 0x38], 1
cmp dword [ebx + 0xc], 0
jne 0x4273a7
test esi, esi
jne 0x427410
cmp byte [edi + 9], 0
mov eax, dword [edx + 4]
mov edx, dword [edi + 4]
mov dword [esp + 0x40], edx
mov ecx, dword [eax + 0x20]
mov dword [esp + 0xc], ecx
je 0x4272eb
inc dword [edi + 0xc]
cmp byte [edi + 0xa], 0
jne 0x4272eb
mov ecx, edi
call fcn.004198d0
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0xc]
test byte [edx + 0x16], 2
je 0x427311
cmp byte [edi + 9], 0
je 0x4273ab
add dword [edi + 0xc], 0xffffffff
jne 0x4273ab
mov ecx, edi
call fcn.004198b0
jmp 0x4273ab
lea eax, [edx + 0x20]
mov dword [esp + 0xc], eax
mov eax, dword [eax]
sub eax, dword [edx + 0x24]
mov dword [esp + 0x44], eax
lea eax, [ecx - 0x200]
cmp eax, 0xfe00
ja 0x427357
lea eax, [ecx - 1]
test ecx, eax
jne 0x427357
mov dword [edx + 0x20], ecx
mov ecx, dword [edx + 0x50]
test ecx, ecx
je 0x427357
add ecx, 0xfffffffc
mov dword [edx + 0x50], ecx
call fcn.0040fe60
mov ecx, dword [esp + 0x40]
mov dword [ecx + 0x50], 0
jmp 0x42735b
mov ecx, dword [esp + 0x40]
push dword [esp + 0x44]
lea edx, [ecx + 0x20]
mov ecx, dword [ecx]
call fcn.004137f0
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
movzx eax, ax
mov ecx, dword [ecx]
sub ecx, eax
mov eax, dword [esp + 0x40]
mov dword [eax + 0x24], ecx
cmp byte [edi + 9], 0
je 0x427399
add dword [edi + 0xc], 0xffffffff
jne 0x427399
mov ecx, edi
call fcn.004198b0
cmp dword [esp + 0x18], 7
jne 0x4273ab
mov esi, 7
jmp 0x427410
test esi, esi
jne 0x427410
cmp dword [ebx + 0xc], 0
jne 0x427410
mov ecx, dword [ebx + 4]
mov edx, 2
call fcn.0041cd40
mov esi, eax
test esi, esi
jne 0x427410
mov edi, dword [ebx + 4]
mov dword [ebx + 0xc], 1
cmp byte [edi + 9], 0
mov eax, dword [edi + 4]
mov dword [esp + 0xc], eax
je 0x4273ef
inc dword [edi + 0xc]
cmp byte [edi + 0xa], 0
jne 0x4273ef
mov ecx, edi
call fcn.004198d0
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 0x28]
bswap eax
mov dword [ebx + 8], eax
cmp byte [edi + 9], 0
je 0x427410
add dword [edi + 0xc], 0xffffffff
jne 0x427410
mov ecx, edi
call fcn.004198b0
mov eax, dword [ebx + 0x18]
mov ecx, dword [eax + 4]
mov eax, dword [ebx + 4]
mov edx, dword [ecx + 0x20]
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov edi, dword [eax + 0x20]
mov eax, dword [eax]
mov dword [esp + 0x28], edi
mov al, byte [eax + 5]
mov byte [esp + 0x13], al
test esi, esi
jne 0x427445
cmp al, 5
jne 0x427445
cmp edx, edi
mov eax, 8
cmovne esi, eax
mov eax, dword [ecx + 0x2c]
xor ecx, ecx
mov dword [esp + 0x40], eax
lea eax, [ebx + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x14], ecx
test edx, edx
js 0x427464
cmp ecx, edx
jge 0x427543
mov edi, dword [ebx + 0x10]
lea eax, [ebx + 0x10]
mov edx, dword [esp + 0x40]
mov dword [esp + 0xc], eax
cmp edi, edx
ja 0x427547
test esi, esi
jne 0x427582
mov eax, dword [ebx + 0x18]
xor edx, edx
mov ecx, dword [eax + 4]
mov eax, dword [0x55b1cc]
div dword [ecx + 0x20]
inc eax
cmp edi, eax
je 0x427533
push 2
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x38]
push edi
push eax
mov eax, dword [eax + 0xc8]
call eax
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x427533
push eax
mov eax, dword [esp + 0x48]
mov edx, edi
mov ecx, ebx
push dword [eax + 4]
call fcn.00426f50
mov ecx, dword [esp + 0x4c]
add esp, 8
mov esi, eax
test ecx, ecx
je 0x427533
test byte [ecx + 0x1c], 0x20
je 0x42752e
mov edx, dword [ecx + 0x14]
dec dword [edx + 0x78]
mov eax, dword [edx + 0x88]
mov dword [ecx + 0x10], eax
mov edi, dword [edx + 0x3c]
mov eax, dword [edx + 0x98]
mov dword [edx + 0x88], ecx
push dword [ecx + 4]
mov ecx, dword [ecx + 0x18]
mov ebx, dword [edi]
dec ecx
cdq
push edx
push eax
push 0
push ecx
call fcn.004f4a20
push edx
push eax
mov eax, dword [ebx + 0x48]
push edi
call eax
mov eax, dword [esp + 0x1c]
add esp, 0x10
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
inc dword [eax]
inc ecx
jmp 0x427451
call fcn.0040f8d0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
inc dword [eax]
inc ecx
jmp 0x427451
mov edx, dword [esp + 0x40]
test esi, esi
jne 0x427582
mov ecx, dword [eax]
mov eax, edx
sub eax, ecx
mov dword [ebx + 0x24], edx
inc eax
mov dword [ebx + 0x20], eax
cmp ecx, edx
ja 0x42758b
cmp dword [ebx + 0x28], esi
jne 0x427a3d
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + 4]
mov ecx, dword [eax]
mov eax, dword [ecx + 0x58]
mov dword [ebx + 0x2c], eax
mov dword [ecx + 0x58], ebx
mov dword [ebx + 0x28], 1
jmp 0x427a3d
cmp esi, 0x65
jne 0x427a3d
test edx, edx
jne 0x4275e2
mov edi, dword [ebx + 4]
cmp byte [edi + 9], dl
je 0x4275a6
inc dword [edi + 0xc]
cmp byte [edi + 0xa], dl
jne 0x4275a6
mov ecx, edi
call fcn.004198d0
mov eax, dword [edi + 4]
mov dword [eax + 0x2c], 0
mov ecx, dword [edi + 4]
call fcn.0041cc60
cmp byte [edi + 9], 0
mov esi, eax
je 0x4275cd
add dword [edi + 0xc], 0xffffffff
jne 0x4275cd
mov ecx, edi
call fcn.004198b0
mov dword [esp + 0x40], 1
test esi, esi
je 0x4275e2
cmp esi, 0x65
jne 0x427a3d
mov edi, dword [ebx + 4]
mov eax, dword [ebx + 8]
inc eax
mov dword [esp + 0xc], eax
cmp byte [edi + 9], 0
mov esi, dword [edi + 4]
je 0x427606
inc dword [edi + 0xc]
cmp byte [edi + 0xa], 0
jne 0x427606
mov ecx, edi
call fcn.004198d0
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x38]
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + 0x48]
test byte [ecx + 0x1c], 4
mov edx, dword [ecx + 0x14]
je 0x427635
mov eax, dword [edx + 0x18]
cmp eax, dword [ecx + 0x18]
jb 0x427635
cmp dword [edx + 0x60], 0
je 0x427631
call fcn.00414010
jmp 0x427656
xor esi, esi
jmp 0x42765c
mov esi, dword [edx + 0x28]
test esi, esi
jne 0x427669
mov eax, dword [edx + 0x94]
cmp eax, dword [edx + 0x98]
jbe 0x427651
call fcn.00415cd0
jmp 0x427656
call fcn.00415c50
mov esi, eax
test esi, esi
jne 0x427669
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
bswap eax
mov dword [ecx + 0x28], eax
cmp byte [edi + 9], 0
je 0x42767c
add dword [edi + 0xc], 0xffffffff
jne 0x42767c
mov ecx, edi
call fcn.004198b0
test esi, esi
jne 0x427a3d
mov ecx, dword [ebx]
test ecx, ecx
je 0x42768f
call fcn.00450350
cmp byte [esp + 0x13], 5
jne 0x4276ad
mov ecx, dword [ebx + 4]
mov edx, 2
call fcn.00426bb0
mov esi, eax
test esi, esi
jne 0x427a3d
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
cmp ecx, edi
jge 0x427a04
mov eax, edi
cdq
idiv ecx
mov ecx, eax
mov eax, dword [esp + 0x40]
dec eax
add eax, ecx
cdq
idiv ecx
xor edx, edx
mov edi, eax
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 4]
mov eax, dword [0x55b1cc]
div dword [ecx + 0x20]
lea ecx, [edi - 1]
inc eax
cmp edi, eax
mov eax, dword [esp + 0x40]
cmovne ecx, edi
imul dword [esp + 0x1c]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], edx
mov edi, dword [eax + 0x3c]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x18], edi
mov edi, ecx
mov dword [esp + 0x2c], eax
cmp edi, eax
ja 0x427809
mov eax, dword [ebx + 4]
xor edx, edx
mov ecx, dword [eax + 4]
mov eax, dword [0x55b1cc]
div dword [ecx + 0x20]
inc eax
cmp edi, eax
je 0x4277f6
push 0
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0x28]
push edi
push eax
mov eax, dword [eax + 0xc8]
call eax
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4277f6
mov ecx, dword [esp + 0x40]
test byte [ecx + 0x1c], 4
mov edx, dword [ecx + 0x14]
je 0x427779
mov eax, dword [edx + 0x18]
cmp eax, dword [ecx + 0x18]
jb 0x427779
cmp dword [edx + 0x60], esi
je 0x427775
call fcn.00414010
jmp 0x42779a
xor esi, esi
jmp 0x4277a0
mov esi, dword [edx + 0x28]
test esi, esi
jne 0x4277a0
mov eax, dword [edx + 0x94]
cmp eax, dword [edx + 0x98]
jbe 0x427795
call fcn.00415cd0
jmp 0x42779a
call fcn.00415c50
mov ecx, dword [esp + 0x40]
mov esi, eax
test ecx, ecx
je 0x4277f6
test byte [ecx + 0x1c], 0x20
je 0x4277f1
mov edx, dword [ecx + 0x14]
dec dword [edx + 0x78]
mov eax, dword [edx + 0x88]
mov dword [ecx + 0x10], eax
mov edi, dword [edx + 0x3c]
mov eax, dword [edx + 0x98]
mov dword [edx + 0x88], ecx
push dword [ecx + 4]
mov ecx, dword [ecx + 0x18]
mov ebx, dword [edi]
dec ecx
cdq
push edx
push eax
push 0
push ecx
call fcn.004f4a20
push edx
push eax
mov eax, dword [ebx + 0x48]
push edi
call eax
mov ebx, dword [esp + 0x34]
add esp, 0x10
mov edi, dword [esp + 0x44]
jmp 0x4277f6
call fcn.0040f8d0
mov eax, dword [esp + 0x2c]
inc edi
mov dword [esp + 0x44], edi
test esi, esi
je 0x427711
jmp 0x42781f
test esi, esi
jne 0x42781f
mov ecx, dword [esp + 0x20]
xor edx, edx
push 1
call fcn.00416020
add esp, 4
mov esi, eax
mov eax, dword [0x55b1cc]
add eax, dword [esp + 0x28]
cdq
mov ecx, eax
mov eax, edx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], eax
cmp eax, edx
jg 0x427849
jl 0x427857
mov eax, dword [esp + 0x14]
cmp ecx, eax
jae 0x42784d
jmp 0x427857
mov eax, dword [esp + 0x14]
mov ecx, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], edx
mov eax, dword [0x55b1cc]
add eax, dword [esp + 0x1c]
cdq
mov dword [esp + 0x34], edx
mov ebx, eax
mov dword [esp + 0x40], ebx
mov edi, edx
test esi, esi
jne 0x427a3d
cmp edi, dword [esp + 0x28]
jg 0x427961
jl 0x427889
cmp ebx, ecx
jae 0x427961
mov eax, dword [esp + 0x1c]
cdq
push 0
mov ecx, edx
mov dword [esp + 0x48], 0
lea edx, [esp + 0x48]
mov dword [esp + 0x40], eax
push edx
push ecx
push eax
push edi
push ebx
mov dword [esp + 0x60], ecx
call fcn.00520320
inc eax
push eax
mov eax, dword [esp + 0x3c]
push eax
mov eax, dword [eax + 0xc8]
call eax
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4278e6
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x44]
push edi
push ebx
push dword [esp + 0x24]
mov ecx, dword [edx]
push dword [eax + 4]
push edx
mov eax, dword [ecx + 0xc]
call eax
add esp, 0x14
mov esi, eax
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x427940
test byte [ecx + 0x1c], 0x20
je 0x42793b
mov edx, dword [ecx + 0x14]
dec dword [edx + 0x78]
mov eax, dword [edx + 0x88]
mov dword [ecx + 0x10], eax
mov edi, dword [edx + 0x3c]
mov eax, dword [edx + 0x98]
mov dword [edx + 0x88], ecx
push dword [ecx + 4]
mov ecx, dword [ecx + 0x18]
mov ebx, dword [edi]
dec ecx
cdq
push edx
push eax
push 0
push ecx
call fcn.004f4a20
push edx
push eax
mov eax, dword [ebx + 0x48]
push edi
call eax
mov ebx, dword [esp + 0x50]
add esp, 0x10
mov edi, dword [esp + 0x34]
jmp 0x427940
call fcn.0040f8d0
add ebx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
adc edi, dword [esp + 0x48]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x34], edi
test esi, esi
je 0x427875
jmp 0x427a3d
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x48]
push ecx
push edi
mov eax, dword [edi]
mov eax, dword [eax + 0x18]
call eax
mov esi, eax
add esp, 8
test esi, esi
jne 0x427a3d
mov ecx, dword [esp + 0xc]
cmp dword [esp + 0x4c], ecx
jl 0x4279a7
jg 0x427995
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x48], eax
jbe 0x4279a7
mov eax, dword [edi]
push ecx
push dword [esp + 0x18]
mov eax, dword [eax + 0x10]
push edi
call eax
add esp, 0xc
mov esi, eax
test esi, esi
jne 0x427a3d
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx + 0x3c]
mov ecx, dword [eax]
test ecx, ecx
je 0x4279d7
push esi
push 0x15
push eax
mov eax, dword [ecx + 0x28]
call eax
mov esi, eax
add esp, 0xc
cmp esi, 0xc
jne 0x4279d3
xor esi, esi
jmp 0x4279d7
test esi, esi
jne 0x4279fe
cmp byte [ebx + 7], 0
jne 0x4279fe
movzx ecx, byte [ebx + 0xa]
mov edx, dword [ebx + 0x3c]
test ecx, ecx
je 0x4279fc
mov eax, dword [edx]
push ecx
push edx
mov eax, dword [eax + 0x14]
call eax
mov ebx, dword [esp + 0x2c]
add esp, 8
mov esi, eax
jmp 0x427a23
xor esi, esi
mov ebx, dword [esp + 0x24]
jmp 0x427a23
mov eax, ecx
mov ecx, dword [esp + 0x20]
cdq
idiv edi
push 0
imul eax, dword [esp + 0x44]
xor edx, edx
mov dword [ecx + 0x18], eax
call fcn.00416020
add esp, 4
mov esi, eax
test esi, esi
jne 0x427a3d
mov ecx, dword [ebx + 4]
xor edx, edx
call fcn.0041df60
mov esi, eax
mov eax, 0x65
test esi, esi
cmove esi, eax
cmp dword [esp + 0x38], 0
mov ebx, dword [esp + 0x24]
je 0x427a5c
mov ecx, dword [ebx + 0x18]
xor edx, edx
call fcn.0041dd70
mov ecx, dword [ebx + 0x18]
xor edx, edx
call fcn.0041df60
cmp esi, 0xc0a
mov eax, 7
cmove esi, eax
mov dword [ebx + 0x1c], esi
mov eax, dword [ebx]
test eax, eax
je 0x427a84
mov eax, dword [eax + 0xc]
test eax, eax
je 0x427a84
push eax
call dword [0x55a47c]
add esp, 4
mov ecx, dword [ebx + 0x18]
cmp byte [ecx + 9], 0
je 0x427a98
add dword [ecx + 0xc], 0xffffffff
jne 0x427a98
call fcn.004198b0
mov ecx, dword [ebx + 0x14]
mov ecx, dword [ecx + 0xc]
test ecx, ecx
je 0x427aac
push ecx
call dword [0x55a47c]
add esp, 4
mov ecx, dword [esp + 0x54]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004f49c2
mov esp, ebp
pop ebp
ret