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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x210
mov esi, dword [ebp + 8]
mov edi, 0xf
mov eax, 0x5e0845
test esi, esi
je 0x42f24a
movzx eax, byte [edx]
mov ah, al
not ah
test ah, 0x1f
sete ah
cmp esi, 1
sete bl
or bl, ah
jne 0x42f245
movsx ebx, byte [edx + 1]
test ebx, ebx
js 0x42f1e6
mov esi, 2
cmp al, 0x30
jne 0x42f245
lea eax, [ebx + esi]
cmp eax, dword [ebp + 8]
mov dword [esp + 0x44], eax
mov eax, 0x5e0845
ja 0x42f24a
mov dword [esp], ecx
add edx, esi
lea ecx, [esp + 4]
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0
call fcn.004290c0
test eax, eax
mov esi, 0x5e0845
setne cl
cmp edx, 1
sete dl
and dl, cl
cmp dl, 1
jne 0x42f226
cmp byte [eax], 0
mov ecx, dword [esp]
je 0x42f25e
mov esi, 0x5e0cea
mov ebx, 0x13
jmp 0x42f22e
cmp bl, 0x81
je 0x42f234
movzx esi, bl
cmp esi, 0x82
jne 0x42f245
mov esi, dword [ebp + 8]
cmp esi, 2
jbe 0x42f245
mov ebx, esi
movzx esi, byte [edx + 2]
test esi, esi
sete ah
cmp ebx, 3
sete bl
or bl, ah
jne 0x42f245
movzx ebx, byte [edx + 3]
shl esi, 8
or ebx, esi
mov esi, 4
jmp 0x42f17c
mov ebx, 0xf
mov ecx, dword [esp]
mov edi, ebx
mov eax, esi
jmp 0x42f24a
cmp esi, 2
jbe 0x42f245
movzx ebx, byte [edx + 2]
test bl, bl
js 0x42f43c
mov eax, 0x5e0845
mov dword [ecx + 4], eax
mov dword [ecx + 8], edi
mov dword [ecx], 0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 4]
mov ebx, 0xf
call fcn.004290c0
test eax, eax
je 0x42f22b
lea ecx, [esp + 4]
mov dword [esp + 0x40], edx
mov edi, eax
call fcn.004290c0
test eax, eax
je 0x42f22b
lea ecx, [esp + 4]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], eax
call fcn.004290c0
test eax, eax
je 0x42f22b
lea ecx, [esp + 4]
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], eax
call fcn.004290c0
test eax, eax
je 0x42f22b
lea ecx, [esp + 4]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], eax
call fcn.004290c0
test eax, eax
je 0x42f22b
lea ecx, [esp + 4]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
call fcn.004290c0
test eax, eax
je 0x42f22b
lea ecx, [esp + 4]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
call fcn.004290c0
test eax, eax
je 0x42f22b
lea ecx, [esp + 4]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
call fcn.004290c0
mov ecx, dword [esp]
test eax, eax
je 0x42f22e
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
lea ecx, [esp + 0x188]
lea edx, [esp + 0x48]
call fcn.0042f490
mov edx, dword [esp + 0x188]
mov eax, dword [esp + 0x18c]
mov ebx, dword [esp + 0x190]
test edx, edx
je 0x42f446
lea esi, [esp + 0x194]
lea edi, [esp + 0x114]
mov ecx, 0x1d
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x108], edx
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], ebx
mov ecx, dword [esp + 0xc]
cmp ecx, dword [esp + 8]
jne 0x42f44d
mov ecx, dword [esp + 0x44]
lea edi, [esp + 0x94]
lea esi, [esp + 0x114]
cmp ecx, dword [ebp + 8]
mov ecx, 0x1d
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ebx
jne 0x42f466
mov edi, dword [esp]
lea esi, [esp + 0x88]
mov ecx, 0x20
rep movsd dword es:[edi], dword [esi]
jmp 0x42f256
mov esi, 3
jmp 0x42f17c
mov esi, eax
jmp 0x42f22b
lea ecx, [esp + 0x108]
call fcn.00430b30
mov ecx, dword [esp]
mov edi, 0xf
jmp 0x42f245
mov eax, dword [esp]
lea ecx, [esp + 0x88]
mov dword [eax + 4], 0x5e0845
mov dword [eax + 8], 0xf
mov dword [eax], 0
call fcn.00430b30
jmp 0x42f256