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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x175c
call fcn.0045a8a0
mov eax, dword [0x48b114]
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x1760], eax
mov eax, dword [esi + 0x3e0]
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 0x228]
test eax, eax
push edi
jne 0x42814b
mov edx, dword [ecx + 0x188]
test edx, edx
jne 0x428146
xor edx, edx
jmp 0x428151
mov edx, dword [ecx + 0x78]
jmp 0x428151
mov edx, dword [ecx + 0x1c0]
test eax, eax
mov dword [esp + 0x24], edx
jne 0x42816c
mov eax, dword [ecx + 0x188]
test eax, eax
jne 0x428167
xor ebx, ebx
jmp 0x428172
mov ebx, dword [ecx + 0x7c]
jmp 0x428172
mov ebx, dword [ecx + 0x1bc]
call fcn.0043cfe0
mov eax, dword [eax + 4]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0xc]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x428184
sub eax, edx
mov dword [esp + 0x18], eax
xor eax, eax
mov ecx, pe_nt_image_headers32
lea edi, [esp + 0x860]
rep stosd dword es:[edi], eax
mov ecx, 0xc0
lea edi, [esp + 0x1460]
rep stosd dword es:[edi], eax
mov ecx, pe_nt_image_headers32
lea edi, [esp + 0x460]
rep stosd dword es:[edi], eax
mov ecx, pe_nt_image_headers32
lea edi, [esp + 0x60]
rep stosd dword es:[edi], eax
mov ecx, pe_nt_image_headers32
lea edi, [esp + 0x1060]
rep stosd dword es:[edi], eax
mov ecx, pe_nt_image_headers32
lea edi, [esp + 0xc60]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x54c]
mov ecx, dword [esi + 0x554]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x1c], ecx
jge 0x428205
lea edx, [eax + ecx]
test edx, edx
jge 0x428205
mov dword [esp + 0x1c], edi
add ecx, eax
cmp ebx, ecx
jae 0x428219
sub ebx, eax
cmp ecx, edi
mov dword [esp + 0x1c], ebx
jge 0x428219
mov dword [esp + 0x1c], edi
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x28]
push eax
call fcn.0043c8f0
mov eax, dword [esi + 0x550]
shl eax, 1
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x14], ebx
jle 0x42838b
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0x1460]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
lea ebx, [ebx]
mov eax, dword [esp + 0xc]
movsx ecx, byte [eax]
push ecx
call fcn.0045bae2
add esp, 4
test eax, eax
je 0x4282b3
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
push 2
push edx
push eax
call fcn.0045af60
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
add esp, 0xc
lea ecx, [esp + 0x3c]
push ecx
push 2
push edx
push eax
call dword [0x47e040]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
inc ecx
inc eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], eax
jmp 0x4282de
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push 1
push ecx
push edx
call fcn.0045af60
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x34]
add esp, 0xc
lea eax, [esp + 0x3c]
push eax
push 1
push ecx
push edx
call dword [0x47e040]
mov eax, dword [esp + 0x3c]
shl eax, 1
xor ecx, ecx
cmp ebx, ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + edi*4 + 0x860], eax
mov dword [esp + edi*4 + 0x460], ecx
mov dword [esp + edi*4 + 0x60], eax
jge 0x42831d
lea edx, [eax + ebx]
test edx, edx
mov dword [esp + edi*4 + 0x460], ebx
jge 0x42831d
mov dword [esp + edi*4 + 0x460], ecx
mov dword [esp + edi*4 + 0x60], ecx
mov ecx, dword [esp + 0x24]
lea edx, [eax + ebx]
cmp ecx, edx
jae 0x428343
sub eax, ecx
add eax, ebx
cmp ecx, ebx
mov dword [esp + edi*4 + 0x60], eax
jae 0x428343
xor eax, eax
mov dword [esp + edi*4 + 0x460], eax
mov dword [esp + edi*4 + 0x60], eax
jmp 0x428345
xor eax, eax
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x3c]
mov dword [esp + edi*4 + 0x1060], eax
mov eax, dword [esp + 0x1c]
add edx, 3
add ebx, ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + edi*4 + 0xc60], eax
mov eax, dword [esp + 0x14]
inc edi
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0xc]
inc eax
inc edx
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], edx
jl 0x428260
mov dword [esp + 0x2c], edi
mov ecx, dword [esp + 0x28]
mov ebx, dword [ebp + 8]
push ecx
mov ecx, ebx
call fcn.0043c930
mov ecx, ebx
call fcn.0043c970
mov edx, dword [esi + 0x53c]
mov ecx, dword [esi + 0x540]
mov dword [esp + 0x48], eax
mov eax, 1
mov dword [esp + 0x38], edx
mov edx, dword [esi + 0x544]
mov dword [esi + 0x53c], eax
mov dword [esi + 0x540], eax
mov dword [esi + 0x544], eax
mov eax, dword [esi + 0x554]
mov dword [esp + 0x30], ecx
lea ecx, [eax + 8]
imul ecx, ecx, 0xf00
mov dword [esp + 0x20], edx
mov edx, dword [esi + 0x550]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x58], eax
xor ebx, ebx
lea ecx, [eax + eax]
lea eax, [edx + edx]
cmp eax, ebx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x1c], ebx
jge 0x42840d
xor eax, eax
cmp ecx, ebx
jge 0x428413
xor ecx, ecx
mov dword [esi + 0x550], eax
mov eax, dword [esi + 0x3dc]
push 0x47f3a2
mov dword [esi + 0x554], ecx
push eax
mov ecx, esi
call fcn.004227f0
mov eax, dword [esi + 0x54c]
imul eax, dword [esp + 0x24]
add eax, dword [esi + 0x548]
test edi, edi
mov dword [esp + 0x44], eax
jle 0x4285c3
lea ecx, [esp + 0x1460]
mov dword [esp + 0x14], ecx
lea ebx, [ebx]
mov eax, dword [esp + 0x10]
xor edx, edx
test eax, eax
mov dword [esp + 0x18], edx
jle 0x4284b3
mov eax, dword [esp + ebx*4 + 0x860]
add eax, 8
lea ecx, [eax + eax*2]
shl ecx, 1
mov dword [esp + 0xc], ecx
jmp 0x428487
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 0x34]
add edi, edx
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x18]
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x10]
add edx, 0x780
cmp edx, eax
mov dword [esp + 0x18], edx
jl 0x428483
mov eax, dword [esp + 0x14]
lea edi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4284c0
mov ecx, dword [esi + 0x3dc]
sub eax, edi
push eax
mov eax, dword [esp + 0x18]
push eax
push 8
push 8
push ecx
call dword [0x47e03c]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x24]
add ecx, eax
mov eax, dword [esp + ebx*4 + 0x860]
neg eax
add edi, eax
lea eax, [eax + eax*2 + 0x780]
shl eax, 1
mov dword [esp + 0x50], edi
mov edi, dword [esp + ebx*4 + 0xc60]
mov dword [esp + 0x54], eax
mov eax, dword [esp + ebx*4 + 0x1060]
cmp eax, edi
mov edx, 0x3c18
jge 0x42859a
sub edi, eax
mov dword [esp + 0xc], edi
jmp 0x428530
mov eax, dword [esp + ebx*4 + 0x460]
mov edi, dword [esp + ebx*4 + 0x60]
cmp eax, edi
jge 0x428583
sub edi, eax
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x34]
cmp byte [edx + eax], 0
je 0x428574
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x30]
shl eax, 8
or eax, edi
mov edi, dword [esp + 0x20]
shl eax, 8
or eax, edi
mov edi, dword [esp + 0x48]
mov dword [edi + ecx*4], eax
mov eax, dword [esp + 0x4c]
mov byte [ecx + eax], 0xff
mov eax, dword [esp + 0x18]
inc ecx
add edx, 6
dec eax
mov dword [esp + 0x18], eax
jne 0x428545
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
add ecx, eax
mov eax, dword [esp + 0xc]
add edx, edi
dec eax
mov dword [esp + 0xc], eax
jne 0x428530
mov eax, dword [esp + ebx*4 + 0x860]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
add edi, eax
mov eax, dword [esp + 0x2c]
inc ebx
add ecx, 3
cmp ebx, eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], ecx
jl 0x428460
mov eax, dword [esi + 0x42c]
test eax, eax
je 0x4285f6
mov ecx, dword [esi + 0x3dc]
push eax
push ecx
call dword [0x47e06c]
mov edx, dword [esi + 0x428]
push edx
call dword [0x47e058]
xor eax, eax
mov dword [esi + 0x428], eax
mov dword [esi + 0x42c], eax
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x20]
mov dword [esi + 0x540], ecx
mov ecx, dword [esp + 0x58]
mov dword [esi + 0x53c], eax
mov eax, dword [esp + 0x5c]
mov dword [esi + 0x554], ecx
mov ecx, dword [ebp + 8]
mov dword [esi + 0x544], edx
mov dword [esi + 0x550], eax
call fcn.0043c9e0
mov ecx, dword [esp + 0x1764]
mov al, 1
call fcn.0045a5f9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8