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

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
push esi
push ebx
sub esp, 0x7c
mov eax, dword [eax]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], eax
cmp byte [eax + 0x1e], 0
je 0x7e31b0
mov dword [edi + 0x74], 7
mov eax, edi
call fcn.007d507c
xor eax, eax
cmp dword [edi + 0x44], 0xbdf20da3
je 0x7e31cc
add esp, 0x7c
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, dword [edi + 0x70]
test esi, esi
js 0x7e3322
lea edx, [edi + 0x114]
mov eax, edx
mov dword [ebp - 0x64], edx
call fcn.007c9dec
mov dword [ebp - 0x20], 0
mov ecx, dword [edi + 0x74]
movzx eax, cl
mov dword [ebp - 0x24], eax
cmp eax, 7
sete al
cmp dword [ebp - 0x24], 0xa
mov dword [ebp - 0x68], ecx
sete dl
or eax, edx
test al, 1
jne 0x7e3342
cmp dword [ebp - 0x24], 9
sete al
cmp dword [ebp - 0x24], 0xd
sete dl
or eax, edx
test al, 1
jne 0x7e3342
lea esi, [esi]
mov ecx, dword [ebp - 0x18]
cmp byte [ecx + 0x1c], 0
je 0x7e323f
cmp dword [ecx + 0x60], 1
je 0x7e3480
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x7e343e
mov edx, dword [ebp - 0x1c]
xor ebx, ebx
test edx, edx
je 0x7e32bf
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
test eax, eax
jle 0x7e32bf
xor esi, esi
lea esi, [esi]
lea edi, [edi]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 8]
mov eax, dword [esi + eax + 4]
test eax, eax
je 0x7e32ac
mov dword [esp], eax
call dword [ebp - 0x1c]
test eax, eax
mov ecx, eax
je 0x7e32ac
mov eax, dword [edi + 0x74]
test eax, eax
sete dl
cmp eax, 0x13
sete al
or eax, edx
test al, 1
jne 0x7e33e8
lea esi, [esi]
lea edi, [edi]
mov eax, dword [ebp - 0x1c]
inc ebx
add esi, 0x18
test eax, eax
je 0x7e32bf
mov eax, dword [ebp - 0x18]
cmp dword [eax + 4], ebx
jg 0x7e326c
cmp byte [edi + 0xfd], 0
je 0x7e32f9
mov eax, dword [edi + 0x70]
test eax, eax
js 0x7e32f9
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x7e3433
cmp dword [ebp - 0x1c], 0x7cc86c
je 0x7e3433
xor edx, edx
mov eax, dword [ebp - 0x18]
call fcn.007d534c
xor eax, eax
mov dword [edi + 0x104], eax
mov esi, dword [edi + 0x74]
test esi, esi
je 0x7e330d
mov edx, dword [ebp - 0x18]
test byte [edx + 0xc], 0x10
jne 0x7e346a
mov eax, dword [ebp - 0x64]
call fcn.007c9e4c
mov ebx, dword [edi + 0x70]
test ebx, ebx
js 0x7e3322
mov eax, dword [ebp - 0x18]
dec dword [eax + 0x60]
mov dword [edi + 0x44], 0x519c2973
mov eax, dword [edi]
cmp byte [eax + 0x1e], 0
je 0x7e3338
mov dword [edi + 0x74], 7
add esp, 0x7c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebp - 0x20], 1
mov esi, dword [edi + 0xc]
xor ebx, ebx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
cmp esi, 0
jle 0x7e339c
mov ecx, dword [edi + 0x14]
xor edx, edx
jmp 0x7e3379
cmp eax, 0x62
je 0x7e33df
inc ebx
add edx, 0x14
cmp esi, ebx
jle 0x7e339c
movzx eax, byte [edx + ecx]
cmp eax, 0x29
jne 0x7e336c
mov dword [ebp - 0x2c], 1
inc ebx
add edx, 0x14
cmp esi, ebx
jg 0x7e3379
lea esi, [esi]
lea edi, [edi]
mov ebx, dword [ebp - 0x28]
test ebx, ebx
setne al
cmp dword [ebp - 0x24], 9
setne dl
or eax, edx
test al, 1
je 0x7e322c
cmp dword [ebp - 0x68], 0xb0a
sete al
xor edx, edx
cmp dword [ebp - 0x2c], 0
setne dl
test eax, edx
je 0x7e3404
mov dword [ebp - 0x1c], 0x7cc8ec
mov dword [edi + 0x74], 5
jmp 0x7e322c
mov eax, dword [edx + ecx + 8]
or dword [ebp - 0x28], eax
jmp 0x7e3371
mov dword [edi + 0x74], ecx
xor eax, eax
mov dword [esp + 4], eax
lea eax, [edi + 0xf4]
mov dword [esp], eax
call fcn.007c2bfc
jmp 0x7e32ac
cmp dword [ebp - 0x24], 7
sete al
cmp dword [ebp - 0x24], 0xd
sete dl
or eax, edx
test al, 1
je 0x7e372c
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x7e372c
mov dword [ebp - 0x1c], 0x7cc8ec
jmp 0x7e322c
mov edx, dword [edi + 0x104]
jmp 0x7e32e9
mov ebx, dword [edi + 0x74]
test ebx, ebx
je 0x7e37ce
mov eax, dword [edi + 0x7c]
cmp eax, 3
je 0x7e37ce
cmp eax, 2
jne 0x7e3886
mov dword [ebp - 0x1c], 0x7cc8ec
jmp 0x7e324a
mov eax, dword [ebp - 0x18]
xor edx, edx
call fcn.007e218c
mov ecx, dword [ebp - 0x18]
or dword [ecx + 0xc], 0x10
jmp 0x7e330d
mov edx, dword [edi + 0x74]
test edx, edx
je 0x7e349f
cmp dword [edi + 0x7c], 3
sete al
xor edx, edx
cmp dword [ebp - 0x20], 0
sete dl
test eax, edx
je 0x7e37b4
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov dword [ebp - 0x38], 0
xor ebx, ebx
mov esi, dword [eax + 0xdc]
mov eax, dword [eax + 0xe0]
test eax, eax
jle 0x7e3500
mov eax, dword [esi]
test eax, eax
je 0x7e3500
mov edx, dword [ebp - 0x18]
mov dword [edx + 0xdc], 0
mov edx, eax
mov eax, dword [edx]
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x7e34e9
mov dword [esp], edx
call eax
mov ecx, eax
inc ebx
test ecx, ecx
jne 0x7e3500
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0xe0], ebx
jle 0x7e3500
mov edx, dword [esi + ebx*4]
test edx, edx
jne 0x7e34d9
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x18]
test ecx, ecx
mov eax, ecx
mov dword [edx + 0xdc], esi
jne 0x7e37a4
mov ecx, dword [edx + 4]
xor esi, esi
cmp ecx, 0
mov dword [ebp - 0x5c], ecx
jle 0x7e3564
mov ebx, dword [edx + 8]
add ebx, 4
mov eax, dword [ebx]
call fcn.007d1a5c
test eax, eax
je 0x7e3546
mov dword [ebp - 0x38], 1
xor eax, eax
cmp esi, 1
setne al
add dword [ebp - 0x30], eax
inc esi
add ebx, 0x18
cmp dword [ebp - 0x5c], esi
jg 0x7e3529
mov esi, dword [ebp - 0x38]
test esi, esi
je 0x7e3564
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax + 0x78]
test ebx, ebx
jne 0x7e3902
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 8]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x60], ecx
call fcn.007d1a4c
cmp byte [eax], 0
mov ebx, eax
je 0x7e37e8
cmp dword [ebp - 0x30], 1
jle 0x7e37e8
mov dword [ebp - 0x40], 0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
mov edx, dword [edx]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x3c], edx
mov ecx, dword [ebp - 0x44]
mov dword [esp], ecx
call fcn.007c20bc
lea edx, [ebp - 0x14]
mov eax, 4
call fcn.007c423c
mov eax, dword [ebp - 0x14]
mov dword [esp + 8], ebx
and eax, 0x7fffffff
mov dword [esp + 0xc], eax
mov eax, str._s_mj_08X
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.007c41ac
mov dword [ebp - 0x44], eax
test eax, eax
je 0x7e3925
mov dword [esp], 0
mov edx, eax
mov eax, dword [ebp - 0x3c]
call fcn.007c1e9c
test eax, eax
jne 0x7e35b5
mov edx, dword [ebp - 0x3c]
mov esi, 7
mov eax, dword [edx + 4]
mov dword [esp], eax
call fcn.007c217c
test eax, eax
mov ebx, eax
je 0x7e3654
mov dword [esp], eax
xor esi, esi
mov ecx, 0x4016
mov dword [esp + 8], esi
mov dword [esp + 4], ecx
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x3c]
call fcn.007c1e4c
test eax, eax
mov esi, eax
jne 0x7e39c4
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x34], esi
test esi, esi
jne 0x7e3796
mov eax, dword [ebp - 0x18]
xor esi, esi
mov eax, dword [eax + 4]
mov dword [ebp - 0x5c], eax
cmp eax, 0
jle 0x7e38a2
mov dword [ebp - 0x6c], 0
mov edx, dword [ebp - 0x18]
mov edx, dword [edx + 8]
mov dword [ebp - 0x60], edx
jmp 0x7e3693
add dword [ebp - 0x6c], 0x18
inc esi
cmp dword [ebp - 0x5c], esi
jle 0x7e3748
mov ecx, dword [ebp - 0x6c]
cmp esi, 1
mov eax, dword [ebp - 0x60]
mov ecx, dword [ecx + eax + 4]
mov dword [ebp - 0x54], ecx
je 0x7e3685
mov eax, ecx
call fcn.007d1a5c
test eax, eax
je 0x7e3685
mov eax, dword [ebp - 0x54]
mov ebx, dword [eax + 4]
mov eax, dword [ebx]
mov eax, dword [eax + 0x60]
mov dword [ebp - 0x58], eax
cmp byte [eax], 0
je 0x7e3685
mov edx, dword [ebp - 0x40]
test edx, edx
je 0x7e399a
mov edx, dword [ebp - 0x58]
mov dword [esp], edx
call sub.msvcrt.dll_strlen
mov edx, dword [ebp - 0x50]
inc eax
mov ecx, dword [ebp - 0x4c]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x48]
call fcn.007c1d4c
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x58]
mov dword [esp], ecx
call sub.msvcrt.dll_strlen
inc eax
xor edx, edx
add dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x34]
adc dword [ebp - 0x4c], edx
test eax, eax
jne 0x7e377c
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x18]
mov eax, dword [eax + 4]
mov edx, dword [edx + 8]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x60], edx
jmp 0x7e3685
mov eax, dword [ebp - 0x18]
call fcn.007d52bc
mov eax, dword [ebp - 0x18]
call fcn.007e30cc
mov edx, dword [ebp - 0x18]
mov byte [edx + 0x1c], 1
jmp 0x7e322c
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x7e38a2
mov eax, dword [ebp - 0x48]
call fcn.007c1e3c
test ah, 4
jne 0x7e38a2
mov eax, dword [ebp - 0x48]
mov edx, 2
call fcn.007c1dbc
mov dword [ebp - 0x34], eax
test eax, eax
je 0x7e38a2
mov eax, dword [ebp - 0x48]
call fcn.007c211c
mov dword [esp], 0
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x3c]
call fcn.007c1e7c
mov ecx, dword [ebp - 0x44]
mov dword [esp], ecx
call fcn.007c20bc
mov eax, dword [ebp - 0x34]
cmp eax, 5
je 0x7e39d1
test eax, eax
je 0x7e37c1
mov dword [edi + 0x74], eax
mov eax, dword [ebp - 0x18]
call fcn.007e30cc
jmp 0x7e324a
mov eax, dword [ebp - 0x18]
call fcn.007d533c
jmp 0x7e324a
mov ecx, dword [edi + 0x14c]
test ecx, ecx
je 0x7e324a
mov dword [ebp - 0x1c], 0x7cc86c
jmp 0x7e324a
mov edx, dword [ebp - 0x34]
xor esi, esi
test edx, edx
jne 0x7e37a1
mov eax, dword [ebp - 0x18]
xor ebx, ebx
mov eax, dword [eax + 4]
test eax, eax
jg 0x7e3810
jmp 0x7e3830
mov eax, dword [ebp - 0x18]
cmp dword [eax + 4], esi
jle 0x7e3830
mov edx, dword [ebp - 0x18]
mov edx, dword [edx + 8]
mov dword [ebp - 0x60], edx
mov ecx, dword [ebp - 0x60]
mov eax, dword [ebx + ecx + 4]
test eax, eax
je 0x7e3825
xor edx, edx
call fcn.007cc15c
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
inc esi
add ebx, 0x18
test eax, eax
je 0x7e37ff
mov eax, dword [ebp - 0x34]
xor esi, esi
test eax, eax
jne 0x7e37a1
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
test eax, eax
jle 0x7e3876
xor ebx, ebx
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 8]
mov eax, dword [ebx + eax + 4]
test eax, eax
je 0x7e385f
call fcn.007cc67c
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
inc esi
add ebx, 0x18
test eax, eax
jne 0x7e37a1
mov eax, dword [ebp - 0x18]
cmp dword [eax + 4], esi
jg 0x7e3849
mov eax, dword [ebp - 0x18]
call fcn.007e308c
mov eax, dword [ebp - 0x34]
jmp 0x7e37a4
mov eax, dword [ebp - 0x18]
call fcn.007d52bc
mov eax, dword [ebp - 0x18]
call fcn.007e30cc
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x1c], 1
jmp 0x7e324a
mov eax, dword [ebp - 0x34]
xor esi, esi
test eax, eax
jne 0x7e38e3
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
test eax, eax
jle 0x7e38e3
xor ebx, ebx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 8]
mov eax, dword [ebx + eax + 4]
test eax, eax
je 0x7e38d0
mov edx, dword [ebp - 0x44]
call fcn.007cc15c
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
inc esi
add ebx, 0x18
test eax, eax
jne 0x7e38e3
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 4], esi
jg 0x7e38b7
mov eax, dword [ebp - 0x48]
call fcn.007c211c
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x7e392f
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call fcn.007c20bc
jmp 0x7e37a1
mov edx, eax
mov eax, dword [eax + 0x74]
mov dword [esp], eax
call dword [edx + 0x78]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov eax, 0x13
test ecx, ecx
jne 0x7e37b1
jmp 0x7e3564
mov eax, 7
jmp 0x7e37b1
mov dword [esp], 1
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x3c]
call fcn.007c1e7c
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x44]
mov dword [esp], edx
call fcn.007c20bc
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x7e37a4
mov eax, dword [ebp - 0x18]
xor esi, esi
mov eax, dword [eax + 4]
mov dword [ebp - 0x5c], eax
cmp eax, 0
jle 0x7e3876
xor ebx, ebx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 8]
mov eax, dword [ebx + eax + 4]
test eax, eax
je 0x7e398c
call fcn.007cc67c
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x5c], ecx
inc esi
add ebx, 0x18
cmp dword [ebp - 0x5c], esi
jg 0x7e3970
jmp 0x7e3876
mov eax, dword [ebp - 0x54]
call fcn.007c9b4c
mov eax, dword [ebx]
movzx ebx, byte [eax + 0xb]
mov eax, dword [ebp - 0x54]
call fcn.007c9c2c
test ebx, ebx
jne 0x7e36ce
mov dword [ebp - 0x40], 1
jmp 0x7e36ce
mov dword [esp], ebx
call fcn.007c20bc
jmp 0x7e3654
mov eax, dword [ebp - 0x64]
call fcn.007c9e4c
mov eax, 5
jmp 0x7e31c2