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

Disassembly:
sub esp, 0x58
mov eax, dword [0x452590]
push ebx
push ebp
mov ebp, dword [esp + 0x64]
mov ecx, dword [eax + 0xc]
push esi
shr ecx, 5
and ecx, 1
push edi
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x74]
not ecx
shr ecx, 4
and ecx, 1
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x70]
test ecx, ecx
jne 0x425c85
mov cl, byte [ebp + 0x2c]
mov dword [esp + 0x3c], 1
test cl, 0x10
je 0x425c8d
mov dword [esp + 0x3c], 0
mov ebx, dword [ebp + 0x2c]
mov ecx, dword [eax + 0x1c]
mov edx, dword [eax + 0x20]
mov edi, ebx
mov esi, ebx
mov dword [esp + 0x18], ecx
shr edi, 6
shr esi, 5
and edi, 1
and esi, 1
mov ecx, edi
mov dword [esp + 0x14], edx
mov edx, dword [eax + 4]
or ecx, esi
mov dword [esp + 0x40], ecx
mov ecx, dword [eax]
test bl, 3
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], edx
je 0x425cfa
test bl, 1
je 0x425ce5
fild dword [esp + 0x18]
fmul dword [ebp + 0x30]
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x18], eax
test bl, 2
je 0x425cfa
fild dword [esp + 0x14]
fmul dword [ebp + 0x34]
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
add ecx, eax
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp + 8]
add edx, ecx
test esi, esi
mov dword [esp + 0x14], edx
je 0x425d25
mov eax, dword [esp + 0x18]
cdq
idiv dword [esp + 0x20]
mov dword [esp + 0x18], edx
test edi, edi
je 0x425d36
mov eax, dword [esp + 0x14]
cdq
idiv dword [esp + 0x1c]
mov dword [esp + 0x14], edx
test ebx, 0x20000
je 0x425d96
mov eax, dword [esp + 0x70]
test eax, eax
jle 0x425d8e
mov ecx, dword [esp + 0x6c]
xor ebp, ebp
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x18]
test edx, edx
jle 0x425d96
lea ebx, [eax + 0x14]
mov esi, ebx
mov edi, 4
mov eax, dword [esi]
test eax, eax
je 0x425d79
mov edx, dword [0x452564]
push eax
push edx
call sub.MMFS2.dll_Ordinal_79
mov dword [esi], 0
add esi, 4
dec edi
jne 0x425d60
mov eax, dword [esp + 0x6c]
inc ebp
add ebx, 0x2c
cmp ebp, dword [eax + 0x14]
jl 0x425d59
jmp 0x425d96
mov dword [esp + 0x3c], 1
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx + 0x2c]
test eax, 0x20000
je 0x425db0
mov edx, dword [esp + 0x70]
test edx, edx
jne 0x4262ef
mov edx, dword [ecx + 0x14]
mov ebx, dword [ecx + 0x18]
not eax
shr eax, 2
and eax, 1
mov dword [esp + 0x50], eax
xor eax, eax
cmp edx, eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], eax
jle 0x4262ef
mov eax, dword [esp + 0x10]
mov edi, dword [ebx + 4]
mov edx, dword [esp + 0x18]
mov esi, dword [ebx + 8]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x54], eax
lea ebp, [ebx + eax*4 + 0x14]
mov eax, dword [esp + 0x38]
sub edi, edx
sub esi, ecx
test eax, eax
mov dword [esp + 0x30], ebp
jne 0x425e4f
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x425e4f
mov ecx, dword [esp + 0x78]
add ecx, 0x60
cmp edi, ecx
jge 0x425e20
mov edx, dword [esp + 0x7c]
add edx, 0x10
cmp esi, edx
jl 0x425e4f
mov eax, dword [esp + 0x70]
test eax, eax
jle 0x4262d4
mov eax, dword [ebp]
test eax, eax
je 0x4262d4
push eax
mov eax, dword [0x452564]
push eax
call sub.MMFS2.dll_Ordinal_79
mov dword [ebp], 0
jmp 0x4262d4
mov ax, word [ebx + 0xc]
mov ecx, dword [0x45258c]
and eax, 0xffff
mov edx, dword [ecx + 0x1c4]
push eax
push 0
push edx
mov dword [esp + 0x30], eax
call sub.MMFS2.dll_Ordinal_9
test eax, eax
je 0x425e85
mov ecx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
add ecx, edi
add ebp, esi
mov dword [esp + 0x60], ecx
jmp 0x425e91
lea eax, [edi + 1]
lea ebp, [esi + 1]
mov dword [esp + 0x60], eax
mov ecx, eax
mov eax, dword [esp + 0x40]
xor edx, edx
cmp eax, edx
mov dword [esp + 0x64], ebp
je case.default.0x425eb0
mov eax, dword [esp + 0x10]
cmp eax, 3
ja case.default.0x425eb0
jmp dword [eax*4 + 0x4262f8]
cmp dword [esp + 0x48], edx
je 0x425ef2
cmp edi, edx
jl 0x425ec7
cmp ecx, dword [esp + 0x20]
jle 0x425ef2
cmp dword [esp + 0x44], edx
je 0x425eeb
cmp esi, edx
jl 0x425ed7
cmp ebp, dword [esp + 0x1c]
jle 0x425eeb
mov eax, dword [esp + 0x74]
mov dword [esp + 0x10], 3
or al, 7
mov dword [esp + 0x74], eax
jmp 0x425f15
mov eax, 1
jmp 0x425f07
cmp dword [esp + 0x44], edx
je 0x425f15
cmp esi, edx
jl 0x425f02
cmp ebp, dword [esp + 0x1c]
jle 0x425f15
mov eax, 2
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x10], eax
or ecx, eax
mov dword [esp + 0x74], ecx
test byte [esp + 0x74], 1
jne 0x425f37
mov eax, dword [ebx + 0x18]
cmp eax, edx
je 0x425f37
mov ecx, dword [0x452564]
push eax
push ecx
call sub.MMFS2.dll_Ordinal_79
mov dword [ebx + 0x18], 0
test byte [esp + 0x74], 2
jne 0x425f59
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x425f59
mov edx, dword [0x452564]
push eax
push edx
call sub.MMFS2.dll_Ordinal_79
mov dword [ebx + 0x1c], 0
test byte [esp + 0x74], 4
jne case.default.0x425eb0
mov eax, dword [ebx + 0x20]
test eax, eax
je case.default.0x425eb0
push eax
mov eax, dword [0x452564]
push eax
call sub.MMFS2.dll_Ordinal_79
mov dword [ebx + 0x20], 0
jmp case.default.0x425eb0
mov eax, dword [esp + 0x20]
cmp edi, edx
jge 0x425f95
add edi, eax
add ecx, eax
jmp 0x425f9d
cmp ecx, eax
jle 0x425fa1
sub edi, eax
sub ecx, eax
mov dword [esp + 0x60], ecx
mov eax, dword [esp + 0x74]
mov dword [esp + 0x10], edx
and al, 0xfe
test al, 2
mov dword [esp + 0x74], eax
je case.default.0x425eb0
jmp 0x426029
mov eax, dword [esp + 0x1c]
cmp esi, edx
jge 0x425fc3
add esi, eax
add ebp, eax
jmp 0x425fcb
cmp ebp, eax
jle 0x425fcf
sub esi, eax
sub ebp, eax
mov dword [esp + 0x64], ebp
mov eax, dword [esp + 0x74]
mov dword [esp + 0x10], edx
and al, 0xfd
test al, 1
mov dword [esp + 0x74], eax
je case.default.0x425eb0
mov dword [esp + 0x10], 1
jmp case.default.0x425eb0
mov eax, dword [esp + 0x20]
cmp edi, edx
jge 0x425ff9
add edi, eax
add ecx, eax
jmp 0x426001
cmp ecx, eax
jle 0x426005
sub edi, eax
sub ecx, eax
mov dword [esp + 0x60], ecx
mov eax, dword [esp + 0x1c]
cmp esi, edx
jge 0x426013
add esi, eax
add ebp, eax
jmp 0x42601b
cmp ebp, eax
jle 0x42601f
sub esi, eax
sub ebp, eax
mov dword [esp + 0x64], ebp
mov eax, dword [esp + 0x74]
and al, 0xfb
mov dword [esp + 0x74], eax
mov dword [esp + 0x10], 2
xor ecx, ecx
xor eax, eax
cmp word [ebx + 0xe], cx
mov ax, word [ebx + 0x12]
mov dword [esp + 0x2c], eax
sete cl
cmp eax, 3
mov dword [esp + 0x34], ecx
jne 0x42606a
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x70]
push ebp
push edx
push esi
push edi
push eax
call fcn.0043f380
add esp, 0x14
mov dword [esp + 0x34], 1
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x4261a7
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4261a7
cmp dword [esp + 0x2c], 4
je 0x4261a7
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x4260b1
cmp dword [esp + 0x60], 0xffffffa0
jl 0x4261a7
cmp dword [esp + 0x64], 0xfffffff0
jl 0x4261a7
mov ebp, dword [esp + 0x14]
jmp 0x4260d1
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x60]
mov ebp, dword [esp + 0x14]
add edi, eax
add ecx, eax
mov eax, dword [esp + 0x64]
add esi, ebp
add eax, ebp
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x2c]
xor eax, eax
cmp ecx, 1
jne 0x4260ee
mov eax, 3
mov dword [esp + 0x80], 0
jmp 0x4260f9
mov ecx, dword [esp + 0x80]
test ecx, ecx
jne 0x426130
mov ecx, dword [esp + 0x34]
push eax
test ecx, ecx
je 0x42611d
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
mov eax, dword [0x452564]
dec ecx
dec edx
push ecx
push edx
push esi
push edi
push eax
call sub.MMFS2.dll_Ordinal_105
jmp 0x426130
mov ecx, dword [esp + 0x28]
mov edx, dword [0x452564]
push esi
push edi
push ecx
push edx
call sub.MMFS2.dll_Ordinal_106
cmp dword [esp + 0x2c], 2
jne 0x426183
mov eax, dword [esp + 0x34]
mov dword [esp + 0x80], 0
test eax, eax
je 0x426171
mov ecx, dword [esp + 0x64]
lea eax, [esi + 6]
cmp eax, ecx
jl 0x426157
mov eax, ecx
dec eax
mov ecx, dword [0x452564]
push 2
push eax
mov eax, dword [esp + 0x68]
dec eax
push eax
push esi
push edi
push ecx
call sub.MMFS2.dll_Ordinal_105
jmp 0x426183
mov edx, dword [esp + 0x24]
mov eax, dword [0x452564]
push esi
push edi
push edx
push eax
call sub.MMFS2.dll_Ordinal_107
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4261a7
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x60]
sub edi, eax
sub ecx, eax
mov eax, dword [esp + 0x64]
sub esi, ebp
sub eax, ebp
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
cmp edi, dword [esp + 0x78]
jg 0x426298
cmp esi, dword [esp + 0x7c]
jg 0x426298
mov eax, dword [esp + 0x60]
test eax, eax
jl 0x426298
mov eax, dword [esp + 0x64]
test eax, eax
jl 0x426298
mov eax, dword [esp + 0x70]
test eax, eax
jle 0x426271
mov ecx, dword [esp + 0x50]
mov eax, 0x480008
test ecx, ecx
jne 0x4261f1
mov eax, 0x480208
mov ecx, dword [esp + 0x2c]
cmp ecx, 1
jne 0x426201
or eax, 0x10001
jmp 0x42620b
cmp ecx, 2
jne 0x42620b
or eax, 0x20001
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx]
test ecx, ecx
jne 0x42625c
mov edx, dword [esp + 0x54]
push ebx
push eax
mov eax, dword [esp + 0x30]
push ecx
lea ecx, [edx + eax*4 + 0x10000000]
mov dx, word [ebx + 0x10]
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [0x452564]
push edx
push eax
push esi
push edi
push ecx
call sub.MMFS2.dll_Ordinal_74
mov edx, dword [esp + 0x30]
mov dword [edx], eax
mov ecx, dword [ebx + 0x28]
mov edx, dword [ebx + 0x24]
push ecx
push edx
push eax
mov eax, dword [0x452564]
push eax
call sub.MMFS2.dll_Ordinal_83
jmp 0x4262c0
mov edx, dword [esp + 0x24]
mov eax, dword [0x452564]
push edx
push esi
push edi
push ecx
push eax
call sub.MMFS2.dll_Ordinal_75
jmp 0x4262c0
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x4262c0
mov ecx, dword [ebx + 0x28]
mov edx, dword [ebx + 0x24]
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [0x452564]
push edx
push 0
push esi
push edi
push eax
push ecx
call sub.MMFS2.dll_Ordinal_168
jmp 0x4262c0
mov eax, dword [esp + 0x70]
test eax, eax
jle 0x4262c0
mov edx, dword [esp + 0x30]
mov eax, dword [edx]
test eax, eax
je 0x4262c0
push eax
mov eax, dword [0x452564]
push eax
call sub.MMFS2.dll_Ordinal_79
mov ecx, dword [esp + 0x30]
mov dword [ecx], 0
mov eax, dword [esp + 0x74]
test eax, eax
je 0x4262d4
mov ecx, dword [esp + 0x28]
dec ecx
sub ebx, 0x2c
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x28]
inc eax
add ebx, 0x2c
mov ecx, dword [edx + 0x14]
mov dword [esp + 0x28], eax
cmp eax, ecx
jl 0x425dd8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret