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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov eax, dword [ebx + 0x84]
add eax, 0xfffffffc
cmp eax, 3
ja case.0x424561.4
jmp dword [eax*4 + 0x424e08]
mov ecx, dword [ebx + 0x78]
lea esi, [ebx + 0x74]
mov eax, dword [ebx + 0x2c]
mov edi, 1
mov edx, edi
mov dword [esp + 0x2c], eax
shl edx, cl
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x18], ecx
push 5
lea eax, [edx - 1]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 4]
add ecx, eax
mov dword [esp + 0x34], ecx
mov ecx, dword [ebx + 0x10]
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x20], ecx
mov ecx, ebx
sub ecx, eax
mov dword [esp + 0x2c], eax
mov eax, ecx
mov dword [esp + 0x28], ecx
sub eax, edx
cmp edx, ecx
push ebx
sbb ecx, ecx
mov edx, esi
and ecx, eax
mov eax, edi
mov dword [esp + 0x28], ecx
mov edi, 3
mov ecx, dword [esi + 0xc]
shl eax, cl
mov ecx, dword [ebp + 8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edi
call fcn.00423ed0
mov esi, eax
add esp, 8
cmp dword [esp + 0x1c], esi
sbb ecx, ecx
xor eax, eax
neg ecx
cmp eax, dword [esp + 0x10]
sbb eax, eax
neg eax
test eax, ecx
je 0x4246d1
nop dword [eax]
mov edx, dword [esp + 0x28]
add edx, esi
mov al, byte [edx + edi]
cmp al, byte [edi + ebx]
jne 0x42469f
mov edi, dword [ebp + 0x10]
mov ecx, ebx
add edi, 0xfffffffd
cmp ebx, edi
jae 0x424655
mov eax, dword [ebx]
xor eax, dword [edx]
je 0x424637
mov edi, dword [ebp + 0x10]
bsf edx, eax
mov dword [esp + 0x3c], 0
shr edx, 3
jmp 0x42467c
lea ecx, [ebx + 4]
add edx, 4
cmp ecx, edi
jae 0x424655
mov eax, dword [ecx]
xor eax, dword [edx]
jne 0x42483c
add ecx, 4
add edx, 4
cmp ecx, edi
jb 0x424641
mov edi, dword [ebp + 0x10]
lea eax, [edi - 1]
cmp ecx, eax
jae 0x42466d
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x42466d
add ecx, 2
add edx, 2
cmp ecx, edi
jae 0x424678
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x424678
inc ecx
mov edx, ecx
sub edx, ebx
cmp edx, dword [esp + 0xc]
jbe 0x42469b
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp + 0x14]
sub eax, esi
add eax, 2
mov dword [esp + 0xc], edx
mov dword [ecx], eax
lea eax, [edx + ebx]
cmp eax, edi
je 0x4246d1
mov edi, dword [esp + 0xc]
cmp esi, dword [esp + 0x20]
jbe 0x4246d1
and esi, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
mov esi, dword [eax + esi*4]
mov eax, dword [esp + 0x10]
dec eax
cmp dword [esp + 0x1c], esi
mov dword [esp + 0x10], eax
sbb ecx, ecx
xor edx, edx
neg ecx
cmp edx, eax
sbb eax, eax
neg eax
test eax, ecx
jne 0x424600
mov eax, dword [ebp + 8]
mov esi, 1
push 0xcf1bbcdc
push 0xbb000000
push dword [ebx + 4]
mov edi, dword [eax + 0x70]
mov eax, dword [edi + 0x2c]
mov ecx, dword [edi + 0x78]
mov edx, dword [edi + 4]
shl esi, cl
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x34], eax
mov eax, dword [edi]
mov ecx, eax
sub ecx, edx
mov dword [esp + 0x2c], eax
sub dword [esp + 0x24], ecx
mov eax, ecx
sub eax, esi
mov dword [esp + 0x20], esi
cmp esi, ecx
mov dword [esp + 0x38], edx
mov esi, 0x40
sbb ecx, ecx
sub esi, dword [edi + 0x7c]
and ecx, eax
mov eax, dword [ebx]
push eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x2c], eax
call fcn.004566b0
mov ecx, esi
call fcn.0046fee0
mov ecx, eax
mov eax, dword [edi + 0x24]
mov edi, dword [eax + ecx*4]
cmp dword [esp + 0x28], edi
sbb ecx, ecx
xor eax, eax
neg ecx
cmp eax, dword [esp + 0x10]
sbb eax, eax
neg eax
test eax, ecx
je 0x424de0
mov esi, dword [ebp + 0x10]
mov edx, dword [esp + 0x2c]
xor ecx, ecx
mov eax, dword [esp + 0x1c]
cmp dword [edx + edi], eax
jne 0x4247c7
mov ecx, dword [ebp + 0x10]
lea esi, [edx + 4]
add esi, edi
lea eax, [ebx + 4]
sub eax, esi
mov edx, esi
add eax, dword [esp + 0x20]
cmp eax, ecx
cmovb ecx, eax
push ecx
lea ecx, [ebx + 4]
call fcn.0041fb40
mov ecx, eax
add esp, 4
mov dword [esp + 0x1c], ecx
lea eax, [ecx + esi]
cmp eax, dword [esp + 0x20]
jne 0x4247bf
push dword [ebp + 0x10]
mov edx, dword [esp + 0x34]
lea eax, [ebx + 4]
add ecx, eax
call fcn.0041fb40
mov ecx, dword [esp + 0x20]
add esp, 4
add ecx, eax
mov eax, dword [ebx]
add ecx, 4
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x1c], eax
cmp ecx, dword [esp + 0xc]
jbe 0x4247f8
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x18]
mov edx, dword [ebp + 0x14]
sub eax, edi
add eax, 2
mov dword [esp + 0xc], ecx
mov dword [edx], eax
lea eax, [ecx + ebx]
cmp eax, esi
je 0x424de0
mov eax, dword [ebx]
mov dword [esp + 0x1c], eax
cmp edi, dword [esp + 0x34]
jbe 0x424de0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
dec eax
and eax, edi
mov edi, dword [ecx + eax*4]
mov eax, dword [esp + 0x10]
dec eax
cmp dword [esp + 0x28], edi
mov dword [esp + 0x10], eax
sbb edx, edx
xor ecx, ecx
neg edx
cmp ecx, eax
sbb ecx, ecx
neg ecx
test ecx, edx
jne 0x424763
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0x10]
bsf edx, eax
mov dword [esp + 0x3c], 0
shr edx, 3
sub edx, ebx
add edx, ecx
jmp 0x42467c
mov ecx, dword [ebx + 0x78]
lea esi, [ebx + 0x74]
mov eax, dword [ebx + 0x2c]
mov edi, 1
mov edx, edi
mov dword [esp + 0x2c], eax
shl edx, cl
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x1c], ecx
push 6
lea eax, [edx - 1]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 4]
add ecx, eax
mov dword [esp + 0x40], ecx
mov ecx, dword [ebx + 0x10]
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x2c], ecx
mov ecx, ebx
sub ecx, eax
mov dword [esp + 0x3c], eax
mov eax, ecx
mov dword [esp + 0x28], ecx
sub eax, edx
cmp edx, ecx
push ebx
sbb ecx, ecx
mov edx, esi
and ecx, eax
mov eax, edi
mov dword [esp + 0x3c], ecx
mov edi, 3
mov ecx, dword [esi + 0xc]
shl eax, cl
mov ecx, dword [ebp + 8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edi
call fcn.00423ed0
add esp, 8
mov esi, eax
cmp dword [esp + 0x28], esi
sbb edx, edx
xor eax, eax
neg edx
cmp eax, dword [esp + 0x10]
sbb ecx, ecx
neg ecx
test ecx, edx
je 0x4249c0
mov edx, dword [esp + 0x38]
add edx, esi
mov al, byte [edx + edi]
cmp al, byte [edi + ebx]
jne 0x42498e
mov edi, dword [ebp + 0x10]
mov ecx, ebx
add edi, 0xfffffffd
cmp ebx, edi
jae 0x424944
mov eax, dword [edx]
xor eax, dword [ebx]
je 0x42491e
mov edi, dword [ebp + 0x10]
bsf edx, eax
mov dword [esp + 0x20], 0
shr edx, 3
jmp 0x42496b
lea ecx, [ebx + 4]
add edx, 4
cmp ecx, edi
jae 0x424944
nop dword [eax + eax]
mov eax, dword [ecx]
xor eax, dword [edx]
jne 0x424b25
add ecx, 4
add edx, 4
cmp ecx, edi
jb 0x424930
mov edi, dword [ebp + 0x10]
lea eax, [edi - 1]
cmp ecx, eax
jae 0x42495c
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x42495c
add ecx, 2
add edx, 2
cmp ecx, edi
jae 0x424967
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x424967
inc ecx
mov edx, ecx
sub edx, ebx
cmp edx, dword [esp + 0xc]
jbe 0x42498a
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp + 0x14]
sub eax, esi
add eax, 2
mov dword [esp + 0xc], edx
mov dword [ecx], eax
lea eax, [edx + ebx]
cmp eax, edi
je 0x4249c0
mov edi, dword [esp + 0xc]
cmp esi, dword [esp + 0x34]
jbe 0x4249c0
and esi, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov esi, dword [eax + esi*4]
mov eax, dword [esp + 0x10]
dec eax
cmp dword [esp + 0x28], esi
mov dword [esp + 0x10], eax
sbb ecx, ecx
xor edx, edx
neg ecx
cmp edx, eax
sbb eax, eax
neg eax
test eax, ecx
jne 0x4248e7
mov eax, dword [ebp + 8]
mov esi, 1
push 0xcf1bbcdc
push 0xbf9b0000
push dword [ebx + 4]
mov edi, dword [eax + 0x70]
mov eax, dword [edi + 0x2c]
mov ecx, dword [edi + 0x78]
mov edx, dword [edi + 4]
shl esi, cl
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x2c], eax
mov eax, dword [edi]
mov ecx, eax
sub ecx, edx
mov dword [esp + 0x34], eax
sub dword [esp + 0x28], ecx
mov eax, ecx
sub eax, esi
mov dword [esp + 0x20], esi
cmp esi, ecx
mov dword [esp + 0x44], edx
mov esi, 0x40
sbb ecx, ecx
sub esi, dword [edi + 0x7c]
and ecx, eax
mov eax, dword [ebx]
push eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x28], eax
call fcn.004566b0
mov ecx, esi
call fcn.0046fee0
mov ecx, dword [edi + 0x24]
mov edi, dword [ecx + eax*4]
cmp dword [esp + 0x20], edi
sbb ecx, ecx
xor eax, eax
neg ecx
cmp eax, dword [esp + 0x10]
sbb eax, eax
neg eax
test eax, ecx
je 0x424de0
mov esi, dword [ebp + 0x10]
mov edx, dword [esp + 0x38]
xor ecx, ecx
mov eax, dword [esp + 0x18]
cmp dword [edx + edi], eax
jne 0x424ab0
mov ecx, dword [ebp + 0x10]
lea esi, [edx + 4]
add esi, edi
lea eax, [ebx + 4]
sub eax, esi
mov edx, esi
add eax, dword [esp + 0x28]
cmp eax, ecx
cmovb ecx, eax
push ecx
lea ecx, [ebx + 4]
call fcn.0041fb40
add esp, 4
mov dword [esp + 0x34], eax
lea ecx, [eax + esi]
cmp ecx, dword [esp + 0x28]
jne 0x424aa8
push dword [ebp + 0x10]
mov edx, dword [esp + 0x40]
lea ecx, [ebx + 4]
add ecx, eax
call fcn.0041fb40
add esp, 4
add eax, dword [esp + 0x34]
mov esi, dword [ebp + 0x10]
lea ecx, [eax + 4]
mov eax, dword [ebx]
mov dword [esp + 0x18], eax
cmp ecx, dword [esp + 0xc]
jbe 0x424ae1
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
mov edx, dword [ebp + 0x14]
sub eax, edi
add eax, 2
mov dword [esp + 0xc], ecx
mov dword [edx], eax
lea eax, [ecx + ebx]
cmp eax, esi
je 0x424de0
mov eax, dword [ebx]
mov dword [esp + 0x18], eax
cmp edi, dword [esp + 0x30]
jbe 0x424de0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
dec eax
and eax, edi
mov edi, dword [ecx + eax*4]
mov eax, dword [esp + 0x10]
dec eax
cmp dword [esp + 0x20], edi
mov dword [esp + 0x10], eax
sbb edx, edx
xor ecx, ecx
neg edx
cmp ecx, eax
sbb ecx, ecx
neg ecx
test ecx, edx
jne 0x424a50
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0x10]
bsf edx, eax
mov dword [esp + 0x20], 0
shr edx, 3
sub edx, ebx
add edx, ecx
jmp 0x42496b
mov ecx, dword [ebx + 0x78]
lea esi, [ebx + 0x74]
mov eax, dword [ebx + 0x2c]
mov edx, 1
mov edi, dword [ebp + 0xc]
shl edx, cl
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], ecx
lea eax, [edx - 1]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 4]
add ecx, eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebx + 0x10]
mov ebx, 3
mov dword [esp + 0x28], ecx
mov ecx, edi
sub ecx, eax
mov dword [esp + 0x3c], eax
mov eax, ecx
mov dword [esp + 0x24], ecx
sub eax, edx
mov dword [esp + 0xc], ebx
cmp edx, ecx
mov edx, esi
push 4
sbb ecx, ecx
and ecx, eax
mov eax, 1
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi + 0xc]
shl eax, cl
mov ecx, dword [ebp + 8]
push edi
mov dword [esp + 0x18], eax
call fcn.00423ed0
add esp, 8
mov esi, eax
cmp dword [esp + 0x28], esi
sbb edx, edx
xor eax, eax
neg edx
cmp eax, dword [esp + 0x10]
sbb ecx, ecx
neg ecx
test ecx, edx
je 0x424ca2
mov edx, dword [esp + 0x3c]
add edx, esi
mov al, byte [edx + ebx]
cmp al, byte [ebx + edi]
jne 0x424c70
mov ebx, dword [ebp + 0x10]
mov eax, edi
add ebx, 0xfffffffd
cmp edi, ebx
jae 0x424c26
mov eax, dword [edi]
xor eax, dword [edx]
je 0x424c08
mov ebx, dword [ebp + 0x10]
bsf ecx, eax
mov dword [esp + 0x20], 0
shr ecx, 3
jmp 0x424c4d
lea eax, [edi + 4]
add edx, 4
cmp eax, ebx
jae 0x424c26
mov ecx, dword [eax]
xor ecx, dword [edx]
jne 0x424deb
add eax, 4
add edx, 4
cmp eax, ebx
jb 0x424c12
mov ebx, dword [ebp + 0x10]
lea ecx, [ebx - 1]
cmp eax, ecx
jae 0x424c3e
mov cx, word [edx]
cmp cx, word [eax]
jne 0x424c3e
add eax, 2
add edx, 2
cmp eax, ebx
jae 0x424c49
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x424c49
inc eax
mov ecx, eax
sub ecx, edi
cmp ecx, dword [esp + 0xc]
jbe 0x424c6c
mov eax, dword [esp + 0x24]
mov edx, dword [ebp + 0x14]
sub eax, esi
add eax, 2
mov dword [esp + 0xc], ecx
mov dword [edx], eax
lea eax, [ecx + edi]
cmp eax, ebx
je 0x424ca2
mov ebx, dword [esp + 0xc]
cmp esi, dword [esp + 0x38]
jbe 0x424ca2
and esi, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov esi, dword [eax + esi*4]
mov eax, dword [esp + 0x10]
dec eax
cmp dword [esp + 0x28], esi
mov dword [esp + 0x10], eax
sbb ecx, ecx
xor edx, edx
neg ecx
cmp edx, eax
sbb eax, eax
neg eax
test eax, ecx
jne 0x424bd1
mov eax, dword [ebp + 8]
mov ebx, 1
mov esi, dword [eax + 0x70]
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x78]
mov edx, dword [esi + 4]
shl ebx, cl
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [esi]
mov ecx, eax
sub ecx, edx
mov dword [esp + 0x28], eax
sub dword [esp + 0x1c], ecx
mov eax, ecx
sub eax, ebx
mov dword [esp + 0x3c], edx
cmp ebx, ecx
mov dword [esp + 0x14], ebx
sbb ecx, ecx
and ecx, eax
mov eax, dword [edi]
imul edx, eax, 0x9e3779b1
mov dword [esp + 0x34], ecx
mov ecx, 0x20
sub ecx, dword [esi + 0x7c]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x24]
mov esi, dword [esp + 0x10]
shr edx, cl
mov ebx, dword [eax + edx*4]
cmp dword [esp + 0x20], ebx
sbb ecx, ecx
xor eax, eax
neg ecx
cmp eax, esi
sbb eax, eax
neg eax
test eax, ecx
je 0x424de0
nop
mov edx, dword [esp + 0x3c]
xor ecx, ecx
mov eax, dword [esp + 0x18]
cmp dword [edx + ebx], eax
jne 0x424d81
mov ecx, dword [ebp + 0x10]
lea esi, [edx + 4]
add esi, ebx
lea eax, [edi + 4]
sub eax, esi
mov edx, esi
add eax, dword [esp + 0x28]
cmp eax, ecx
cmovb ecx, eax
push ecx
lea ecx, [edi + 4]
call fcn.0041fb40
add esp, 4
mov dword [esp + 0x38], eax
lea ecx, [eax + esi]
cmp ecx, dword [esp + 0x28]
jne 0x424d78
push dword [ebp + 0x10]
mov edx, dword [esp + 0x30]
lea ecx, [edi + 4]
add ecx, eax
call fcn.0041fb40
add esp, 4
add eax, dword [esp + 0x38]
mov esi, dword [esp + 0x10]
lea ecx, [eax + 4]
mov eax, dword [edi]
mov dword [esp + 0x18], eax
cmp ecx, dword [esp + 0xc]
jbe 0x424daf
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
mov edx, dword [ebp + 0x14]
sub eax, ebx
add eax, 2
mov dword [esp + 0xc], ecx
mov dword [edx], eax
lea eax, [ecx + edi]
cmp eax, dword [ebp + 0x10]
je 0x424de0
mov eax, dword [edi]
mov dword [esp + 0x18], eax
cmp ebx, dword [esp + 0x34]
jbe 0x424de0
mov eax, dword [esp + 0x14]
dec esi
mov ecx, dword [esp + 0x30]
dec eax
and eax, ebx
mov dword [esp + 0x10], esi
mov ebx, dword [ecx + eax*4]
cmp dword [esp + 0x20], ebx
sbb edx, edx
xor eax, eax
neg edx
cmp eax, esi
sbb ecx, ecx
neg ecx
test ecx, edx
jne 0x424d20
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 0x10]
bsf ecx, ecx
mov dword [esp + 0x20], 0
shr ecx, 3
sub ecx, edi
add ecx, eax
jmp 0x424c4d