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

Disassembly:
push 0xffffffffffffffff
push 0x4d0f16
mov eax, dword fs:[0]
push eax
mov eax, 0x202c
mov dword fs:[0], esp
call fcn.004aec00
mov eax, dword [0x504530]
push ebx
push ebp
mov ebp, dword [esp + 0x2044]
mov dword [esp + 0x2030], eax
cmp dword [ebp + 0x4d8], 4
mov ebx, ecx
je 0x428099
mov eax, 1
jmp 0x4284e7
mov eax, dword [ebx + 0x18]
sub eax, dword [ebx + 0x1c]
cmp eax, 0x18
ja 0x4280d5
movzx ecx, byte [ebx + 0x25]
mov edx, dword [ebp + 0x14]
push ecx
push edx
push 0x434a
push 0x534540
mov eax, 2
call fcn.00478c60
mov eax, dword [ebp]
add esp, 0x10
push 1
mov ecx, ebp
call dword [eax + 0x38]
xor eax, eax
jmp 0x4284e7
push esi
push edi
push 0x10
lea ecx, [esp + 0x2c]
push ecx
call fcn.0040f4d0
mov eax, dword [ebp + 0x4c8]
lea edi, [eax + 0x78]
mov ecx, 4
lea esi, [esp + 0x28]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
je 0x428163
lea ecx, [esp + 0x28]
push ecx
mov ecx, eax
call fcn.00430600
mov dword [esp + 0x2044], 0
mov eax, dword [eax]
mov ebp, dword [ebp + 0x14]
push eax
push ebp
push 0x3f93
push 0x534540
mov eax, 2
call fcn.00478c60
mov dword [esp + 0x2054], 0xffffffff
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
add esp, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x428159
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
jmp 0x4284e5
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x18]
add eax, 4
cmp eax, ecx
jbe 0x428175
call fcn.004c5fe3
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x10]
mov edx, dword [eax + ecx]
mov ecx, dword [ebx + 0x18]
add eax, 4
mov dword [ebx + 0x1c], eax
add eax, 4
xor edi, edi
cmp eax, ecx
mov dword [esp + 0x28], edx
jbe 0x428199
call fcn.004c5fe3
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x10]
mov ecx, dword [eax + ecx]
add eax, 4
mov dword [ebx + 0x1c], eax
mov esi, dword [ebp + 0x538]
cmp esi, edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x10], esi
je 0x428202
mov edx, dword [ebp + 0x540]
cmp edx, dword [esp + 0x28]
jne 0x4281ec
mov edx, dword [ebp + 0x544]
xor eax, eax
cmp edx, eax
jne 0x4281ec
mov eax, dword [ebp + 0x548]
cmp eax, ecx
jne 0x4281ec
mov edx, dword [ebp + 0x54c]
xor eax, eax
cmp edx, eax
je 0x4282e8
cmp esi, edi
je 0x428202
call fcn.00498820
push esi
call fcn.004be908
mov ecx, dword [esp + 0x28]
add esp, 4
mov eax, dword [esp + 0x28]
mov dword [ebp + 0x540], eax
xor eax, eax
mov dword [ebp + 0x544], eax
mov dword [ebp + 0x54c], eax
mov eax, dword [ebp + 0x53c]
mov dword [ebp + 0x548], ecx
mov dword [ebp + 0x550], edi
mov dword [ebp + 0x554], edi
mov dword [ebp + 0x558], edi
mov dword [ebp + 0x55c], edi
push 0x38
mov dword [eax + 0xc], edi
call fcn.004be8d8
mov esi, eax
xor eax, eax
add esp, 4
mov dword [ebp + 0x538], esi
mov ecx, 0xe
mov edi, esi
rep stosd dword es:[edi], eax
push 0x38
mov eax, 0x4db050
mov ecx, 0xf
mov dword [esp + 0x14], esi
call fcn.00497030
test eax, eax
je 0x4282e4
push esi
call fcn.004be908
add esp, 4
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [ebp + 0x4c8]
mov dword [ebp + 0x538], 0
call fcn.00430600
mov dword [esp + 0x2044], 1
mov eax, dword [eax]
push eax
push 0x3fbb
push 0x534540
mov eax, 2
call fcn.00478c60
add esp, 0xc
lea ecx, [esp + 0x24]
mov dword [esp + 0x2044], 0xffffffff
call fcn.00403b90
mov edx, dword [ebp]
push 1
mov ecx, ebp
call dword [edx + 0x38]
xor eax, eax
jmp 0x4284e5
mov esi, dword [esp + 0x10]
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx + 0x10]
mov ebx, dword [ebp + 0x53c]
sub ecx, eax
push ecx
add edx, eax
push edx
call fcn.0040e000
mov eax, dword [ebp + 0x53c]
mov ecx, dword [eax + 0xc]
xor edi, edi
cmp ecx, edi
jbe 0x428487
mov ecx, dword [ebp + 0x554]
cmp ecx, dword [ebp + 0x54c]
ja 0x428487
jb 0x42833b
mov edx, dword [ebp + 0x550]
cmp edx, dword [ebp + 0x548]
jae 0x428487
mov eax, dword [eax + 8]
mov dword [esi], eax
mov ecx, dword [ebp + 0x53c]
mov edx, dword [ecx + 0xc]
mov dword [esi + 4], edx
lea esp, [esp]
push 2
lea eax, [esp + 0x3c]
push esi
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0x2000
call fcn.00497240
mov eax, dword [esi + 0x10]
cmp eax, 0x2000
jae 0x42844d
mov esi, dword [ebp + 0x558]
mov ebx, dword [ebp + 0x540]
mov edi, dword [ebp + 0x544]
mov edx, dword [ebp + 0x55c]
add ebx, esi
adc edi, edx
mov esi, 0x2000
sub esi, eax
xor eax, eax
push eax
mov eax, dword [ebp + 0x4c8]
push esi
lea ecx, [esp + 0x40]
push ecx
push edi
push ebx
mov dword [esp + 0x3c], esi
call fcn.00431450
add esi, ebx
mov eax, 0
adc eax, edi
push eax
push esi
push edi
push ebx
lea esi, [esp + 0x24]
call fcn.00408180
push eax
lea edx, [ebp + 0x528]
push edx
call fcn.00424d80
push 0
push 0x947000
push edi
push ebx
call fcn.004bc9a0
or eax, edx
mov dword [esp + 0x24], 1
jne 0x4283f6
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x28]
xor esi, esi
push esi
push eax
mov eax, dword [ebp + 0x4d4]
push edi
push ebx
call fcn.00422880
mov eax, dword [esp + 0x28]
mov edi, dword [ebp + 0x500]
mov edx, dword [ebp + 0x504]
mov ecx, dword [ebp + 0x558]
add edi, eax
adc edx, esi
add ecx, eax
mov eax, dword [ebp + 0x55c]
adc eax, esi
mov esi, dword [esp + 0x10]
mov dword [ebp + 0x500], edi
mov dword [ebp + 0x504], edx
mov dword [ebp + 0x558], ecx
mov dword [ebp + 0x55c], eax
xor edi, edi
cmp dword [esi + 0x10], edi
je 0x428350
mov ecx, dword [ebp + 0x53c]
mov eax, dword [esi + 4]
mov edx, dword [ecx + 0xc]
cmp eax, edx
jae 0x428487
mov ebx, dword [ebp + 0x550]
sub edx, eax
add ebx, edx
adc dword [ebp + 0x554], edi
mov dword [ebp + 0x550], ebx
mov edx, dword [ecx + 0xc]
sub edx, dword [esi + 4]
call fcn.0040e120
mov eax, dword [ebp + 0x554]
cmp eax, dword [ebp + 0x54c]
jb 0x4284c2
ja 0x4284a5
mov ecx, dword [ebp + 0x550]
cmp ecx, dword [ebp + 0x548]
jb 0x4284c2
call fcn.00498820
push esi
call fcn.004be908
mov edx, dword [ebp + 0x53c]
mov dword [ebp + 0x538], edi
add esp, 4
mov dword [edx + 0xc], edi
mov eax, dword [ebp + 0x4d4]
mov dword [eax + 0x74], 1
mov dword [eax + 0x94], edi
mov eax, dword [eax + 8]
mov ecx, dword [eax + 8]
inc ecx
push ebp
mov dword [eax + 8], ecx
call fcn.00428900
pop edi
pop esi
mov ecx, dword [esp + 0x2034]
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x202c]
pop ebx
call fcn.004ae38e
add esp, 0x2038
ret 4