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

Disassembly:
push 0xffffffffffffffff
push 0x44ad5a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0xb0]
xor eax, eax
xor ecx, ecx
xor esi, esi
mov ax, word [edi + 8]
mov cx, word [edi + 6]
mov si, word [edi]
mov ebp, dword [edi + 2]
cmp eax, 3
mov dword [esp + 0x10], ecx
ja case.default.0x4246c7
jmp dword [eax*4 + 0x4251c0]
cmp esi, 1
jge 0x4246d8
mov esi, 1
mov ebx, dword [esp + 0xc4]
test ebx, ebx
jne 0x4246e8
mov ebx, 1
mov eax, dword [esp + 0xd0]
test eax, eax
jne 0x4247e7
cmp ebx, 1
jne 0x4247e7
mov eax, dword [esp + 0xc8]
test eax, eax
jne 0x4247e7
dec ecx
je 0x42478e
dec ecx
je 0x424755
dec ecx
jne case.default.0x4246c7
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0xc0]
push ebp
push esi
lea edx, [eax + ecx]
mov ecx, dword [esp + 0xbc]
push edx
mov edx, dword [esp + 0xc8]
add edx, ecx
push edx
push eax
push ecx
mov ecx, dword [esp + 0xc4]
call dword [sym.imp.MMFS2.dll_Ordinal_412]
jmp case.default.0x4246c7
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0xc0]
push ebp
push esi
lea edx, [eax + ecx]
mov ecx, dword [esp + 0xbc]
push edx
mov edx, dword [esp + 0xc8]
add edx, ecx
push edx
push eax
push ecx
mov ecx, dword [esp + 0xc4]
call dword [sym.imp.MMFS2.dll_Ordinal_677]
jmp case.default.0x4246c7
mov ecx, dword [edi + 0xa]
mov edx, dword [esp + 0xb4]
test cl, 1
je 0x4247ac
mov eax, dword [esp + 0xbc]
add edx, eax
neg eax
mov edi, eax
jmp 0x4247b3
mov edi, dword [esp + 0xbc]
mov eax, dword [esp + 0xb8]
test cl, 2
mov ecx, dword [esp + 0xc0]
je 0x4247ca
add eax, ecx
neg ecx
push ebp
add ecx, eax
push esi
push ecx
lea ecx, [edx + edi]
push ecx
mov ecx, dword [esp + 0xbc]
push eax
push edx
call dword [sym.imp.MMFS2.dll_Ordinal_611]
jmp case.default.0x4246c7
push ebp
lea ecx, [esp + 0x1c]
call dword [sym.imp.MMFS2.dll_Ordinal_234]
mov eax, dword [esp + 0x10]
mov dword [esp + 0xa4], 0
dec eax
je 0x4248be
dec eax
je 0x424868
dec eax
jne case.default.0x4246c7
mov edx, dword [esp + 0xcc]
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0xd0]
push edx
push eax
mov eax, dword [esp + 0xc0]
push ebx
push ecx
mov ecx, dword [esp + 0xd0]
lea edx, [esp + 0x28]
push edx
push esi
lea edx, [eax + ecx]
mov ecx, dword [esp + 0xcc]
push edx
mov edx, dword [esp + 0xd8]
add edx, ecx
push edx
push eax
push ecx
mov ecx, dword [esp + 0xd4]
call dword [sym.imp.MMFS2.dll_Ordinal_413]
jmp case.default.0x4246c7
mov eax, dword [esp + 0xcc]
mov ecx, dword [esp + 0xc8]
mov edx, dword [esp + 0xd0]
push eax
push ecx
mov ecx, dword [esp + 0xc8]
push ebx
lea eax, [esp + 0x24]
push edx
push eax
mov eax, dword [esp + 0xcc]
push esi
lea edx, [eax + ecx]
mov ecx, dword [esp + 0xcc]
push edx
mov edx, dword [esp + 0xd8]
add edx, ecx
push edx
push eax
push ecx
mov ecx, dword [esp + 0xd4]
call dword [sym.imp.MMFS2.dll_Ordinal_678]
jmp case.default.0x4246c7
mov edx, dword [edi + 0xa]
mov ecx, dword [esp + 0xb4]
test dl, 1
je 0x4248dc
mov eax, dword [esp + 0xbc]
add ecx, eax
neg eax
mov edi, eax
jmp 0x4248e3
mov edi, dword [esp + 0xbc]
mov eax, dword [esp + 0xb8]
test dl, 2
mov edx, dword [esp + 0xc0]
je 0x4248fa
add eax, edx
neg edx
mov ebp, dword [esp + 0xcc]
add edx, eax
push ebp
mov ebp, dword [esp + 0xcc]
push ebp
push ebx
mov ebx, dword [esp + 0xdc]
push ebx
lea ebx, [esp + 0x28]
push ebx
push esi
push edx
lea edx, [ecx + edi]
push edx
push eax
push ecx
mov ecx, dword [esp + 0xd4]
call dword [sym.imp.MMFS2.dll_Ordinal_612]
jmp case.default.0x4246c7
mov ebx, dword [esp + 0xc4]
mov eax, dword [edi + 0xa]
test ebx, ebx
jne 0x424947
mov ebx, 1
mov edi, dword [esp + 0xd0]
test edi, edi
jne 0x424a54
cmp ebx, 1
jne 0x424a54
mov edx, dword [esp + 0xc8]
test edx, edx
jne 0x424a54
sub ecx, 2
je 0x4249b5
dec ecx
jne case.default.0x4246c7
mov ecx, dword [esp + 0xc0]
push ebx
push ebp
push esi
push eax
mov eax, dword [esp + 0xc8]
lea edx, [eax + ecx]
mov ecx, dword [esp + 0xc4]
push edx
mov edx, dword [esp + 0xd0]
add edx, ecx
push edx
push eax
push ecx
mov ecx, dword [esp + 0xcc]
call dword [sym.imp.MMFS2.dll_Ordinal_414]
jmp case.default.0x4246c7
test esi, esi
je 0x4249f5
mov ecx, dword [esp + 0xc0]
push 1
push ebp
push esi
push eax
mov eax, dword [esp + 0xc8]
lea edx, [eax + ecx]
mov ecx, dword [esp + 0xc4]
push edx
mov edx, dword [esp + 0xd0]
add edx, ecx
push edx
push eax
push ecx
mov ecx, dword [esp + 0xcc]
call dword [sym.imp.MMFS2.dll_Ordinal_679]
jmp case.default.0x4246c7
mov edx, dword [esp + 0xbc]
test edx, edx
jge 0x424a12
mov ecx, dword [esp + 0xb4]
neg edx
sub ecx, edx
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0xc0]
test ecx, ecx
jge 0x424a2f
mov esi, dword [esp + 0xb8]
neg ecx
sub esi, ecx
mov dword [esp + 0xb8], esi
push eax
mov eax, dword [esp + 0xbc]
push ecx
mov ecx, dword [esp + 0xbc]
push edx
push eax
push ecx
mov ecx, dword [esp + 0xc0]
call dword [sym.imp.MMFS2.dll_Ordinal_443]
jmp case.default.0x4246c7
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.MMFS2.dll_Ordinal_234]
push ebp
lea ecx, [esp + 0x48]
mov dword [esp + 0xa8], 1
call dword [sym.imp.MMFS2.dll_Ordinal_234]
mov eax, dword [esp + 0x10]
mov byte [esp + 0xa4], 2
sub eax, 2
je 0x424ae0
dec eax
jne case.default.0x4246c7
test esi, esi
je 0x424ab2
mov edx, dword [esp + 0xcc]
mov eax, dword [esp + 0xc8]
push 1
push edx
push eax
push ebx
push edi
lea ecx, [esp + 0x58]
lea edx, [esp + 0x2c]
jmp 0x424bf4
mov eax, dword [esp + 0xcc]
mov ecx, dword [esp + 0xc8]
push eax
mov eax, dword [esp + 0xbc]
push ecx
mov ecx, dword [esp + 0xc8]
push ebx
lea edx, [esp + 0x24]
push edi
push edx
lea edx, [eax + ecx]
push edx
jmp 0x424c50
mov ecx, dword [esp + 0xc8]
mov eax, dword [esp + 0xcc]
test esi, esi
je 0x424b3a
push 1
push eax
push ecx
mov ecx, dword [esp + 0xcc]
push ebx
lea edx, [esp + 0x54]
push edi
push edx
lea eax, [esp + 0x30]
push esi
push eax
mov eax, dword [esp + 0xd8]
lea edx, [eax + ecx]
mov ecx, dword [esp + 0xd4]
push edx
mov edx, dword [esp + 0xe0]
add edx, ecx
push edx
push eax
push ecx
mov ecx, dword [esp + 0xdc]
call dword [sym.imp.MMFS2.dll_Ordinal_680]
jmp case.default.0x4246c7
push eax
mov eax, dword [esp + 0xbc]
push ecx
mov ecx, dword [esp + 0xc8]
push ebx
lea edx, [esp + 0x24]
push edi
push edx
lea edx, [eax + ecx]
push edx
mov ecx, dword [esp + 0xcc]
mov edx, dword [esp + 0xd4]
add edx, ecx
push edx
push eax
push ecx
mov ecx, dword [esp + 0xd0]
call dword [sym.imp.MMFS2.dll_Ordinal_681]
jmp case.default.0x4246c7
mov eax, dword [edi + 0x12]
mov ecx, dword [edi + 0xe]
mov edx, dword [edi + 0xa]
push 0
push 0
push eax
push ecx
push edx
lea ecx, [esp + 0x70]
call dword [sym.imp.MMFS2.dll_Ordinal_232]
push ebp
lea ecx, [esp + 0x1c]
mov dword [esp + 0xa8], 3
call dword [sym.imp.MMFS2.dll_Ordinal_234]
mov eax, dword [esp + 0x10]
mov byte [esp + 0xa4], 4
sub eax, 2
je 0x424c75
dec eax
jne case.default.0x4246c7
mov edx, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc8]
mov eax, dword [esp + 0xcc]
test esi, esi
je 0x424c2e
push 1
push eax
mov eax, dword [esp + 0xd8]
push ecx
push edx
push eax
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x70]
mov eax, dword [esp + 0xcc]
push ecx
mov ecx, dword [esp + 0xd8]
push esi
push edx
lea edx, [eax + ecx]
mov ecx, dword [esp + 0xd4]
push edx
mov edx, dword [esp + 0xe0]
add edx, ecx
push edx
push eax
push ecx
mov ecx, dword [esp + 0xdc]
call dword [sym.imp.MMFS2.dll_Ordinal_415]
jmp case.default.0x4246c7
push eax
mov eax, dword [esp + 0xd4]
push ecx
push edx
mov edx, dword [esp + 0xcc]
push eax
mov eax, dword [esp + 0xc8]
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [eax + edx]
push ecx
mov ecx, dword [esp + 0xcc]
mov edx, dword [esp + 0xd4]
add edx, ecx
push edx
push eax
push ecx
mov ecx, dword [esp + 0xd0]
call dword [sym.imp.MMFS2.dll_Ordinal_416]
jmp case.default.0x4246c7
mov edx, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc8]
mov eax, dword [esp + 0xcc]
test esi, esi
je 0x424cdd
push 1
push eax
mov eax, dword [esp + 0xd8]
push ecx
push edx
lea ecx, [esp + 0x28]
push eax
mov eax, dword [esp + 0xcc]
push ecx
mov ecx, dword [esp + 0xd8]
lea edx, [esp + 0x74]
push esi
push edx
lea edx, [eax + ecx]
mov ecx, dword [esp + 0xd4]
push edx
mov edx, dword [esp + 0xe0]
add edx, ecx
push edx
push eax
push ecx
mov ecx, dword [esp + 0xdc]
call dword [sym.imp.MMFS2.dll_Ordinal_680]
jmp case.default.0x4246c7
push eax
mov eax, dword [esp + 0xd4]
push ecx
push edx
mov edx, dword [esp + 0xcc]
push eax
mov eax, dword [esp + 0xc8]
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [eax + edx]
push ecx
jmp 0x424b55
cmp ecx, 2
jne 0x424f99
test esi, esi
jne 0x424f99
lea ecx, [esp + 0x5c]
call dword [sym.imp.MMFS2.dll_Ordinal_264]
mov edx, dword [0x451544]
xor ecx, ecx
mov cx, word [edi + 0xa]
lea eax, [esp + 0x5c]
push esi
push eax
push ecx
push edx
mov dword [esp + 0xb4], 5
call sub.MMFS2.dll_Ordinal_169
test eax, eax
je 0x424f90
lea ecx, [esp + 0x5c]
call dword [sym.imp.MMFS2.dll_Ordinal_585]
mov ebx, eax
lea ecx, [esp + 0x5c]
mov dword [esp + 0x34], ebx
call dword [sym.imp.MMFS2.dll_Ordinal_520]
mov ebp, eax
test ebx, ebx
mov dword [esp + 0x20], ebp
jle 0x424f86
test ebp, ebp
jle 0x424f86
lea eax, [esp + 0x50]
lea ecx, [esp + 0x4c]
push eax
lea edx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0xb4]
lea eax, [esp + 0x80]
push edx
push eax
call dword [sym.imp.MMFS2.dll_Ordinal_476]
mov esi, dword [esp + 0xb4]
mov ecx, dword [esp + 0x78]
mov edi, dword [esp + 0xb8]
cmp esi, ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
jge 0x424dcd
mov eax, ecx
sub eax, esi
cdq
idiv ebx
imul eax, ebx
add eax, esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
cmp edi, eax
jge 0x424de3
sub eax, edi
cdq
idiv ebp
imul eax, ebp
add eax, edi
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0xbc]
mov eax, dword [esp + 0xc0]
add eax, edi
lea ebp, [esi + edx]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x74], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x50]
add ecx, edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x54], ebp
add edx, eax
cmp ebp, ecx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], edx
jle 0x424e2e
mov eax, ebp
sub eax, ecx
cdq
idiv ebx
imul eax, ebx
sub ebp, eax
mov dword [esp + 0x2c], ebp
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
cmp ecx, eax
jle 0x424e52
mov ebp, dword [esp + 0x28]
mov eax, ecx
sub eax, ebp
mov ebp, dword [esp + 0x20]
cdq
idiv ebp
imul eax, ebp
sub ecx, eax
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0xac]
call dword [sym.imp.MMFS2.dll_Ordinal_620]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
mov ecx, ebp
cmp ecx, eax
mov dword [esp + 0x40], ebp
jge 0x424f74
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0xc0]
mov edx, ebp
sub edi, edx
neg ecx
add edi, eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
cmp eax, edx
jge 0x424f54
mov edx, dword [esp + 0x20]
xor ecx, ecx
add ebp, edx
mov edx, dword [esp + 0xd0]
test edx, edx
setne cl
mov edx, eax
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0xbc]
mov edi, ebx
sub esi, edx
mov dword [esp + 0x58], ebp
neg edi
add esi, ecx
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x28], ebx
add ebx, eax
cmp ebx, edx
jle 0x424ee7
mov dword [esp + 0x28], esi
mov edx, dword [esp + 0x74]
mov ebp, dword [esp + 0x58]
cmp ebp, edx
jle 0x424ef7
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0xd0]
push edx
mov edx, dword [esp + 0xd0]
push edx
mov edx, dword [esp + 0xd0]
push edx
mov edx, dword [esp + 0xbc]
push ecx
mov ecx, dword [esp + 0x3c]
push ecx
push 0
push 0
push ebp
push eax
push edx
lea ecx, [esp + 0x88]
call dword [sym.imp.MMFS2.dll_Ordinal_343]
mov ecx, dword [esp + 0x2c]
mov eax, ebx
mov ebx, dword [esp + 0x34]
add esi, edi
cmp eax, ecx
jl 0x424ed1
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0xb4]
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
add ebp, edi
add edx, ecx
cmp ebp, eax
mov dword [esp + 0x40], ebp
mov dword [esp + 0x14], edx
jl 0x424e94
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xac]
push eax
call dword [sym.imp.MMFS2.dll_Ordinal_762]
lea ecx, [esp + 0x5c]
push ecx
call sub.MMFS2.dll_Ordinal_170
lea ecx, [esp + 0x5c]
jmp 0x425195
mov ebx, dword [esp + 0xc4]
test ebx, ebx
jne 0x424fa9
mov ebx, 1
lea ecx, [esp + 0x8c]
call dword [sym.imp.MMFS2.dll_Ordinal_264]
mov ecx, dword [0x451544]
xor eax, eax
mov ax, word [edi + 0xa]
lea edx, [esp + 0x8c]
push 0
push edx
push eax
push ecx
mov dword [esp + 0xb4], 6
call sub.MMFS2.dll_Ordinal_169
test eax, eax
je 0x42518e
push 0
lea edx, [esp + 0x90]
push 0
push edx
lea ecx, [esp + 0x88]
call dword [sym.imp.MMFS2.dll_Ordinal_236]
push ebp
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa8], 7
call dword [sym.imp.MMFS2.dll_Ordinal_234]
mov eax, dword [esp + 0x10]
mov byte [esp + 0xa4], 8
sub eax, 2
je 0x4250d5
dec eax
jne 0x425174
mov edx, dword [esp + 0xd0]
mov ecx, dword [esp + 0xc8]
mov eax, dword [esp + 0xcc]
test esi, esi
je 0x425092
push 1
push eax
push ecx
push ebx
lea eax, [esp + 0x48]
push edx
mov edx, dword [esp + 0xd4]
push eax
mov eax, dword [esp + 0xd0]
lea ecx, [esp + 0x94]
push esi
push ecx
lea ecx, [eax + edx]
mov edx, dword [esp + 0xdc]
push ecx
mov ecx, dword [esp + 0xd8]
add edx, ecx
push edx
push eax
push ecx
mov ecx, dword [esp + 0xdc]
call dword [sym.imp.MMFS2.dll_Ordinal_415]
jmp 0x425174
push eax
push ecx
mov ecx, dword [esp + 0xc8]
push ebx
lea eax, [esp + 0x88]
push edx
push eax
mov eax, dword [esp + 0xcc]
lea edx, [eax + ecx]
mov ecx, dword [esp + 0xc8]
push edx
mov edx, dword [esp + 0xd4]
add edx, ecx
push edx
push eax
push ecx
mov ecx, dword [esp + 0xd0]
call dword [sym.imp.MMFS2.dll_Ordinal_416]
jmp 0x425174
mov edx, dword [esp + 0xd0]
mov ecx, dword [esp + 0xc8]
mov eax, dword [esp + 0xcc]
test esi, esi
je 0x425136
push 1
push eax
push ecx
push ebx
lea eax, [esp + 0x48]
push edx
mov edx, dword [esp + 0xd4]
push eax
mov eax, dword [esp + 0xd0]
lea ecx, [esp + 0x94]
push esi
push ecx
lea ecx, [eax + edx]
mov edx, dword [esp + 0xdc]
push ecx
mov ecx, dword [esp + 0xd8]
add edx, ecx
push edx
push eax
push ecx
mov ecx, dword [esp + 0xdc]
call dword [sym.imp.MMFS2.dll_Ordinal_680]
jmp 0x425174
push eax
push ecx
mov ecx, dword [esp + 0xc8]
push ebx
lea eax, [esp + 0x88]
push edx
push eax
mov eax, dword [esp + 0xcc]
lea edx, [eax + ecx]
mov ecx, dword [esp + 0xc8]
push edx
mov edx, dword [esp + 0xd4]
add edx, ecx
push edx
push eax
push ecx
mov ecx, dword [esp + 0xd0]
call dword [sym.imp.MMFS2.dll_Ordinal_681]
lea eax, [esp + 0x8c]
push eax
call sub.MMFS2.dll_Ordinal_170
mov eax, dword [sym.imp.MMFS2.dll_Ordinal_309]
mov dword [esp + 0x38], eax
mov dword [esp + 0x7c], eax
lea ecx, [esp + 0x8c]
mov dword [esp + 0xa4], 0xffffffff
call dword [sym.imp.MMFS2.dll_Ordinal_286]
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x98
ret