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

Disassembly:
sub esp, 0x54c
push ebx
push ebp
mov ebp, dword [esp + 0x558]
push esi
push edi
push 1
push 0x7c
push ebp
call fcn.0048a050
xor edi, edi
add esp, 0xc
cmp ax, di
mov word [0x4552f24], ax
jne 0x425854
push 2
push 0x7c
push ebp
mov word [0x455a0fc], 0xa
mov word [0x454f400], di
call fcn.0048a050
add esp, 0xc
test eax, eax
je 0x425b3c
push 3
push 0x7c
push ebp
call fcn.0048a050
mov dword [0x4554094], eax
lea eax, [esp + 0x168]
push eax
push 0x7f
push 4
push 0x7c
push ebp
call fcn.00489f70
lea ecx, [esp + 0x17c]
push ecx
call fcn.0048a170
lea edx, [esp + 0x80]
push edx
push 0x7f
push 5
push 0x7c
push ebp
call fcn.00489f70
lea eax, [esp + 0x94]
push eax
call fcn.0048a170
lea ecx, [esp + 0x318]
push ecx
push 0xff
push 6
push 0x7c
push ebp
call fcn.00489f70
add esp, 0x50
lea edx, [esp + 0x2dc]
push edx
call fcn.0048a170
lea eax, [esp + 0xe0]
push eax
push 0x7f
push 7
push 0x7c
push ebp
call fcn.00489f70
lea ecx, [esp + 0xf4]
push ecx
call fcn.0048a170
lea edx, [esp + 0x1f8]
push edx
push 0x7f
push 8
push 0x7c
push ebp
call fcn.00489f70
lea eax, [esp + 0x20c]
push eax
call fcn.0048a170
lea ecx, [esp + 0x290]
push ecx
push 0x7f
push 9
push 0x7c
push ebp
call fcn.00489f70
add esp, 0x48
lea edx, [esp + 0x25c]
push edx
call fcn.0048a170
lea eax, [esp + 0x3e0]
push eax
push 0x7f
push 0xa
push 0x7c
push ebp
call fcn.00489f70
lea ecx, [esp + 0x3f4]
push ecx
call fcn.0048a170
lea edx, [esp + 0x178]
push 0x1a
push edx
push 0x45529ec
call fcn.004924c0
lea eax, [esp + 0x84]
push 0x1a
push eax
push 0x454e000
mov byte [0x4552a06], 0
call fcn.004924c0
push 0x2c
push 2
lea ecx, [esp + 0x318]
push 0x2d
push ecx
push 0x454e110
mov byte [0x454e01a], 0
call fcn.00425230
add esp, 0x48
lea edx, [esp + 0xdc]
push 0x28
push edx
push 0x45541b0
call fcn.004924c0
push 0x26
push 2
lea eax, [esp + 0x1f0]
push 0x27
push eax
push 0x4556428
mov byte [0x45541d8], 0
call fcn.00425230
push 0x26
push 2
lea ecx, [esp + 0x284]
push 0x27
push ecx
push 0x4552b8c
call fcn.00425230
push 0x26
push 2
lea edx, [esp + 0x418]
push 0x27
push edx
push 0x4552eac
call fcn.00425230
add esp, 0x48
mov word [0x455b370], 0x20
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], 0xc
mov ebx, 0x4557ab0
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
dec ecx
push 0x3f
push ecx
push 0x7c
push ebp
call fcn.00489f70
lea edx, [esp + 0x30]
mov esi, eax
push edx
call fcn.0048a170
add esp, 0x18
test esi, esi
je 0x425734
mov byte [ebx], 0
jmp 0x42581e
inc edi
or ecx, 0xffffffff
mov dword [esp + 0x18], edi
lea edi, [esp + 0x1c]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x1c
ja 0x425768
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
jmp 0x425785
mov edi, 0x4a2670
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x10]
push esi
push 0x7c
push ebp
call fcn.0048a050
mov word [ebx - 4], ax
lea eax, [esi + 1]
push eax
push 0x7c
push ebp
call fcn.0048a050
lea ecx, [esi + 2]
mov dword [ebx - 0x10], eax
push ecx
push 0x7c
push ebp
call fcn.0048a050
lea edx, [esi + 3]
mov dword [ebx - 0xc], eax
push edx
push 0x7c
push ebp
call fcn.0048a050
mov dword [ebx - 8], eax
lea eax, [esp + 0x48c]
push eax
lea ecx, [esi + 4]
push 0xff
push ecx
push 0x7c
push ebp
call fcn.00489f70
add esp, 0x44
lea edx, [esp + 0x45c]
push edx
call fcn.0048a170
push 0x1c
push 3
lea eax, [esp + 0x468]
push 0x1d
lea ecx, [ebx + 0x1d]
push eax
push ecx
call fcn.00425230
add esi, 5
push esi
push 0x7c
push ebp
call fcn.0048a050
mov edi, dword [esp + 0x3c]
add esp, 0x24
mov dword [ebx + 0x78], eax
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
movsx edx, word [0x455b370]
inc eax
add esi, 7
add ebx, 0x8c
cmp eax, edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], esi
jl 0x425704
test edi, edi
jle 0x425b33
jmp 0x425b16
push 2
push 0x7c
push ebp
mov word [0x455a0fc], 0x64
mov word [0x454f400], di
call fcn.0048a050
add esp, 0xc
test eax, eax
je 0x425b3c
push 3
push 0x7c
push ebp
call fcn.0048a050
mov dword [0x4554094], eax
lea eax, [esp + 0x168]
push eax
push 0x7f
push 4
push 0x7c
push ebp
call fcn.00489f70
lea ecx, [esp + 0x17c]
push ecx
call fcn.0048a170
lea edx, [esp + 0x80]
push edx
push 0x7f
push 5
push 0x7c
push ebp
call fcn.00489f70
lea eax, [esp + 0x94]
push eax
call fcn.0048a170
lea ecx, [esp + 0x318]
push ecx
push 0xff
push 6
push 0x7c
push ebp
call fcn.00489f70
add esp, 0x50
lea edx, [esp + 0x2dc]
push edx
call fcn.0048a170
lea eax, [esp + 0xe0]
push eax
push 0x7f
push 7
push 0x7c
push ebp
call fcn.00489f70
lea ecx, [esp + 0xf4]
push ecx
call fcn.0048a170
lea edx, [esp + 0x1f8]
push edx
push 0x7f
push 8
push 0x7c
push ebp
call fcn.00489f70
lea eax, [esp + 0x20c]
push eax
call fcn.0048a170
lea ecx, [esp + 0x190]
push 0x1a
push ecx
push 0x45529ec
call fcn.004924c0
add esp, 0x40
lea edx, [esp + 0x5c]
mov byte [0x4552a06], 0
push 0x1a
push edx
push 0x454e000
call fcn.004924c0
push 0x26
push 2
lea eax, [esp + 0x2f0]
push 0x27
push eax
push 0x4558cd8
mov byte [0x454e01a], 0
call fcn.00425230
push 0x26
push 2
lea ecx, [esp + 0x104]
push 0x27
push ecx
push 0x455a9f8
call fcn.00425230
push 0x26
push 2
lea edx, [esp + 0x218]
push 0x27
push edx
push 0x4552b8c
call fcn.00425230
add esp, 0x48
mov word [0x455b370], 0x20
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], 0xa
mov ebx, 0x4558db0
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
dec ecx
push 0x3f
push ecx
push 0x7c
push ebp
call fcn.00489f70
lea edx, [esp + 0x30]
mov esi, eax
push edx
call fcn.0048a170
add esp, 0x18
test esi, esi
je 0x4259fe
mov byte [ebx], 0
jmp 0x425ae9
inc edi
or ecx, 0xffffffff
mov dword [esp + 0x18], edi
lea edi, [esp + 0x1c]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x1c
ja 0x425a32
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
jmp 0x425a4f
mov edi, 0x4a2670
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x10]
push esi
push 0x7c
push ebp
call fcn.0048a050
mov word [ebx - 4], ax
lea eax, [esi + 1]
push eax
push 0x7c
push ebp
call fcn.0048a050
lea ecx, [esi + 2]
mov dword [ebx - 0xc], eax
push ecx
push 0x7c
push ebp
call fcn.0048a050
lea edx, [esp + 0x480]
mov dword [ebx - 8], eax
push edx
lea eax, [esi + 3]
push 0xff
push eax
push 0x7c
push ebp
call fcn.00489f70
lea ecx, [esp + 0x494]
push ecx
call fcn.0048a170
push 0x1c
push 3
lea edx, [esp + 0x4a0]
push 0x1d
lea eax, [ebx + 0x1d]
push edx
push eax
call fcn.00425230
add esp, 0x50
lea ecx, [esi + 4]
push ecx
push 0x7c
push ebp
call fcn.0048a050
add esi, 5
mov word [ebx - 2], ax
push esi
push 0x7c
push ebp
call fcn.0048a050
mov edi, dword [esp + 0x30]
add esp, 0x18
mov dword [ebx + 0x74], eax
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
movsx edx, word [0x455b370]
inc eax
add esi, 7
add ebx, 0x8c
cmp eax, edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], esi
jl 0x4259ce
test edi, edi
jle 0x425b33
lea eax, [edi + 7]
pop edi
cdq
and edx, 7
pop esi
add eax, edx
pop ebp
sar eax, 3
mov word [0x455b370], ax
pop ebx
add esp, 0x54c
ret
mov word [0x455b370], 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54c
ret