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

Disassembly:
push ebp
mov ecx, 0x615f18a4
push edi
push esi
push ebx
sub esp, 0x3c
mov edi, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
mov esi, dword [esp + 0x50]
mov word [esp + 0x2c], di
mov dword [esp + 0x20], eax
call fcn.6154b5f0
mov edx, eax
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 4]
mov ecx, dword [eax + edx*4]
test ecx, ecx
je 0x6157f064
cmp bx, 0xffff
mov dword [esp + 0x1c], 0
sete byte [esp + 0x2e]
xor ebp, ebp
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edi
jmp 0x6157ef07
mov ecx, dword [esp + 0x20]
mov edx, eax
test ecx, ecx
setne bl
and bl, byte [esp + 0x2e]
jne 0x6157ef58
movzx ebx, byte [esp + 0x2e]
cmp dl, bl
je 0x6157ef90
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x6c]
jae 0x6157ef90
test esi, esi
je 0x6157eea6
mov eax, edi
test al, al
jne 0x6157efd0
movzx eax, word [esp + 0x2c]
mov ecx, dword [esp + 0x24]
movzx eax, ax
mov edx, dword [ecx]
mov dword [esp + 4], 0x2a
mov dword [esp], eax
call dword [edx + 0x30]
lea edx, [eax - 0x30]
sub esp, 8
cmp dl, 9
ja 0x6157ef90
lea edx, [ebp + ebp*4]
movsx eax, al
lea ebp, [eax + edx*2 - 0x30]
cmp ebp, dword [esp + 0x68]
jg 0x6157f010
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jae 0x6157eff0
add eax, 2
mov dword [esi + 8], eax
mov ebx, 0xffffffff
add dword [esp + 0x1c], 1
mov word [esp + 0x2c], bx
cmp word [esp + 0x2c], 0xffff
sete al
test esi, esi
setne dl
mov edi, eax
and dl, al
je 0x6157ee68
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jae 0x6157f040
movzx eax, word [eax]
cmp ax, 0xffff
mov ecx, dword [esp + 0x20]
mov eax, 0
cmovne edx, eax
mov eax, 0
cmove esi, eax
test ecx, ecx
setne bl
and bl, byte [esp + 0x2e]
je 0x6157ee7d
lea esi, [esi]
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x6157f020
movzx eax, word [eax]
cmp ax, 0xffff
mov eax, 0
cmovne ebx, eax
mov eax, 0
cmovne eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
cmp dl, bl
jne 0x6157ee8a
lea esi, [esi]
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
test eax, eax
setne dl
cmp ebp, dword [esp + 0x64]
setge al
test dl, al
je 0x6157efae
cmp ebp, dword [esp + 0x68]
jle 0x6157f000
mov eax, dword [esp + 0x74]
or dword [eax], 4
mov di, word [esp + 0x2c]
add esp, 0x3c
mov eax, esi
pop ebx
pop esi
mov edx, edi
pop edi
pop ebp
ret 0x28
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jae 0x6157f058
movzx eax, word [eax]
xor edi, edi
cmp ax, 0xffff
cmove esi, edi
jmp 0x6157eeab
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
jmp 0x6157eef8
mov eax, dword [esp + 0x60]
mov dword [eax], ebp
jmp 0x6157efb5
mov edi, dword [esp + 0x28]
jmp 0x6157efae
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x2f], dl
mov eax, dword [ecx]
call dword [eax + 0x24]
movzx edx, byte [esp + 0x2f]
jmp 0x6157ef6b
mov eax, dword [esi]
mov byte [esp + 0x2f], dl
mov ecx, esi
call dword [eax + 0x24]
movzx edx, byte [esp + 0x2f]
jmp 0x6157ef2e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
jmp 0x6157efdf
call fcn.615e4ac0
nop
nop
nop
nop
nop
nop
nop
push ebp
push edi
push esi
push ebx
sub esp, 0xbc
mov eax, dword [esp + 0xdc]
mov ebp, dword [esp + 0xe0]
mov dword [esp + 0x38], ecx
mov ecx, 0x615f176c
mov edi, dword [esp + 0xd0]
mov ebx, dword [esp + 0xd4]
mov dword [esp + 0x34], eax
mov esi, dword [esp + 0xd8]
call fcn.6154b5f0
mov edx, dword [ebp + 0x6c]
mov ecx, dword [edx + 4]
cmp eax, dword [edx + 8]
jae 0x6157f309
mov eax, dword [ecx + eax*4]
test eax, eax
je 0x6157f309
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x615fa8ac
mov dword [esp + 4], 0x615fa59c
mov dword [esp], eax
call fcn.615dfd20
test eax, eax
je 0x6157f309
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x34]
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 0x38]
mov dword [esp + 0x50], edx
mov edx, dword [eax + 0x30]
mov dword [esp + 0x4c], ecx
mov ecx, dword [eax + 0x3c]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 0x54]
mov dword [esp + 0x40], ecx
mov ecx, dword [eax + 0x40]
mov dword [esp + 0x54], edx
mov edx, dword [eax + 0x60]
mov dword [esp + 0x58], ecx
mov ecx, dword [eax + 0x44]
mov dword [esp + 0x5c], ecx
mov ecx, dword [eax + 0x4c]
mov dword [esp + 0x60], ecx
mov ecx, dword [eax + 0x50]
mov dword [esp + 0x64], ecx
mov ecx, dword [eax + 0x58]
mov dword [esp + 0x44], ecx
mov ecx, dword [eax + 0x5c]
mov eax, dword [eax + 0x48]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x88], eax
lea eax, [esp + 0x74]
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x9c], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xa0], edx
mov edx, dword [esp + 0x40]
mov dword [esp], edi
mov dword [esp + 0xa4], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 4], ebx
xor bx, bx
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xa8], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0xac], edx
mov dword [esp + 0x74], 0
mov dword [esp + 0x18], 7
call fcn.61582100
sub esp, 0x24
mov ebp, eax
movzx ecx, dx
mov eax, edx
mov dword [esp + 0x6c], edx
mov edx, ebx
mov edi, ebp
or edx, ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x68], ebp
test ecx, ecx
je 0x6157f290
mov ebx, dword [esp + 0xe4]
or dword [ebx], 4
cmp ax, 0xffff
sete bl
test ebp, ebp
setne al
and al, bl
mov byte [esp + 0x38], al
jne 0x6157f2a0
cmp word [esp + 0x34], 0xffff
sete al
mov ecx, eax
test esi, esi
je 0x6157f26e
test al, al
jne 0x6157f2c8
cmp cl, bl
jne 0x6157f27c
mov eax, dword [esp + 0xe4]
or dword [eax], 2
add esp, 0xbc
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret 0x1c
mov ecx, dword [esp + 0xe8]
mov ebx, dword [esp + 0x70]
mov dword [ecx + 0x18], ebx
jmp 0x6157f247
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
jae 0x6157f2e0
movzx eax, word [eax]
xor ebx, ebx
cmp ax, 0xffff
movzx eax, byte [esp + 0x38]
mov edi, 0
cmovne edi, ebp
cmove ebx, eax
jmp 0x6157f25b
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jae 0x6157f2f8
movzx eax, word [eax]
cmp ax, 0xffff
sete cl
jmp 0x6157f26e
mov eax, dword [ebp]
mov dword [esp + 0x3c], edx
mov ecx, ebp
call dword [eax + 0x24]
mov edx, dword [esp + 0x3c]
jmp 0x6157f2ab
mov eax, dword [esi]
mov dword [esp + 0x34], edx
mov ecx, esi
call dword [eax + 0x24]
mov edx, dword [esp + 0x34]
jmp 0x6157f2d3
call fcn.615e4ac0
nop
nop