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

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x20]
cmp edi, 0x7fffffff
ja 0x207e3daf
test edi, edi
je 0x207e3daf
mov esi, dword [esp + 0x1c]
mov eax, 0x40000000
cdq
idiv dword [esi + 0x40]
inc eax
cmp edi, eax
je 0x207e3daf
mov eax, dword [esp + 0x24]
push esi
mov dword [eax], 0
call fcn.207e4540
add esp, 4
test eax, eax
jne 0x207e3db4
mov eax, dword [esi + 0xc8]
test eax, eax
jne 0x207e3a7e
xor ebp, ebp
jmp 0x207e3a9c
mov ecx, dword [esi + 0xc4]
dec ecx
and ecx, edi
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x207e3a9a
cmp dword [eax + 4], edi
je 0x207e3a9a
mov eax, dword [eax + 8]
test eax, eax
jne 0x207e3a8e
mov ebp, eax
test ebp, ebp
jne 0x207e3d63
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x4c]
xor ebx, ebx
cmp ecx, eax
jl 0x207e3afe
mov eax, dword [esi + 0x78]
test eax, eax
je 0x207e3afe
mov eax, dword [esi + 0x80]
test eax, eax
jne 0x207e3ac8
mov al, byte [esi + 0x16]
test al, al
jne 0x207e3afe
lea edx, [esp + 0x1c]
push edx
push esi
call fcn.207e3ed0
mov ebx, eax
add esp, 8
cmp ebx, 5
jne 0x207e3aec
mov ebx, 0xb0a
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 8
ret
test ebx, ebx
je 0x207e3bd8
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [esi + 0xc4]
cmp ecx, eax
jl 0x207e3b3b
cmp eax, 0x100
jge 0x207e3b16
mov eax, 0x100
jmp 0x207e3b18
add eax, eax
push eax
push esi
call fcn.207e3dc0
mov eax, dword [esi + 0xc4]
add esp, 8
test eax, eax
jne 0x207e3b3b
mov ebx, 7
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 8
ret
mov ebp, dword [esi + 0x3c]
add ebp, 0x34
push ebp
call fcn.207e02c0
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
je 0x207e3b88
mov eax, dword [esi + 0x40]
push eax
call fcn.207e0720
mov edx, eax
add esp, 4
test edx, edx
jne 0x207e3b80
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.207e0a40
add esp, 4
mov ebx, 7
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov edi, dword [esp + 0x1c]
test edi, edi
jne 0x207e3b97
mov ebx, 7
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 8
ret
mov ecx, ebp
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebp
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov dword [eax + 0x2c], edx
mov ecx, dword [esp + 0x1c]
mov dword [ecx], esi
mov eax, dword [esp + 0x1c]
mov edx, dword [esi + 0x84]
mov dword [eax + 0x18], edx
mov eax, dword [esi + 0x44]
mov ebp, dword [esp + 0x1c]
inc eax
mov dword [esi + 0x84], ebp
mov dword [esi + 0x44], eax
jmp 0x207e3bdc
mov ebp, dword [esp + 0x1c]
test ebx, ebx
je 0x207e3bea
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 8
ret
lea eax, [ebp + 4]
push edi
mov dword [esp + 0x18], eax
mov dword [eax], edi
mov ecx, dword [esi + 0x54]
push ecx
call fcn.20814cb0
mov byte [ebp + 0x1c], al
mov al, byte [ebp + 0x1d]
add esp, 8
mov byte [ebp + 0x1e], 0
test al, al
je 0x207e3c3a
mov eax, dword [ebp + 0x24]
mov byte [ebp + 0x1d], 0
test eax, eax
je 0x207e3c1f
mov edx, dword [ebp + 0x28]
mov dword [eax + 0x28], edx
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x207e3c2e
mov ecx, dword [ebp + 0x24]
mov dword [eax + 0x24], ecx
jmp 0x207e3c3a
mov edx, dword [ebp]
mov eax, dword [ebp + 0x24]
mov dword [edx + 0x8c], eax
mov word [ebp + 0x22], 1
mov ecx, dword [esi + 0x48]
inc ecx
mov dword [esi + 0x48], ecx
mov ecx, dword [esi + 0x3c]
test ecx, ecx
jle 0x207e3c61
mov edx, ecx
xor eax, eax
lea edi, [ebp + 0x30]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x10]
push eax
push esi
call fcn.207e31e0
mov edi, eax
add esp, 8
test edi, edi
je 0x207e3c88
push ebp
call fcn.207e5b30
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
cmp eax, ebx
jl 0x207e3cdf
test edx, edx
je 0x207e3ca3
mov al, byte [esi + 0x13]
test al, al
je 0x207e3cdf
push ebx
push ebp
push esi
call fcn.207e44d0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x207e3cd9
cmp edi, 0x20a
je 0x207e3cd9
mov ecx, dword [esp + 0x14]
push ebp
mov dword [ecx], 0
call fcn.207e5b30
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov byte [ebp + 0x20], 0
jmp 0x207e3d2b
cmp ebx, dword [esi + 0x50]
jbe 0x207e3cfa
push ebp
call fcn.207e5b30
add esp, 4
mov eax, 0xd
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov ecx, dword [esi + 0x40]
mov edi, dword [ebp + 0x2c]
mov ebx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
test edx, edx
rep stosb byte es:[edi], al
je 0x207e3d22
mov al, byte [esi + 0x13]
test al, al
jne 0x207e3d22
mov eax, 1
jmp 0x207e3d24
xor eax, eax
mov ebx, dword [esp + 0x20]
mov byte [ebp + 0x20], al
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc8]
dec eax
and eax, ebx
mov ecx, dword [edx + eax*4]
mov dword [ebp + 8], ecx
mov edx, dword [esi + 0xc8]
mov dword [edx + eax*4], ebp
mov eax, dword [ebp + 8]
test eax, eax
je 0x207e3d9f
mov dword [eax + 0xc], ebp
mov eax, dword [esp + 0x24]
pop edi
pop esi
mov dword [eax], ebp
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x207e3d78
push ebp
call fcn.207e59c0
add esp, 4
test eax, eax
jne 0x207e3db4
mov ax, word [ebp + 0x22]
test ax, ax
jne 0x207e3d9a
push ebp
call fcn.207e3e40
mov eax, dword [esp + 0x28]
add esp, 4
pop edi
mov dword [eax], ebp
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
inc eax
mov word [ebp + 0x22], ax
mov eax, dword [esp + 0x24]
pop edi
pop esi
mov dword [eax], ebp
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov eax, 0xb
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret