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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov ecx, dword [ecx]
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
push 0x797ef0
push eax
push ecx
push 0
call fcn.002e5ec0
add esp, 0x10
mov edi, eax
xor esi, esi
test eax, eax
je 0x269975
test ebx, ebx
je 0x269824
mov eax, dword [ebx]
test eax, eax
jne 0x269831
call fcn.0027ce20
test eax, eax
je 0x269975
mov esi, eax
cmp dword [edi], 1
jne 0x26992a
mov eax, dword [edi + 4]
mov ecx, eax
sar ecx, 8
cmp ecx, 3
je 0x26985c
cmp ecx, 0xfe
je 0x26985c
cmp eax, 0x100
jne 0x269942
mov dword [esi], eax
mov eax, dword [edi + 0x78]
mov dword [esi + 0x2d4], eax
mov eax, dword [edi + 8]
cmp dword [eax], 2
jne 0x269936
mov eax, dword [eax + 8]
movzx eax, word [eax]
rol ax, 8
movzx eax, ax
or eax, 0x3000000
mov dword [esi + 0x2d0], eax
push eax
call fcn.002674f0
add esp, 4
mov dword [esi + 0x2cc], eax
test eax, eax
je 0x269975
mov ebp, dword [edi + 0x14]
xor edx, edx
mov ecx, 0
test ebp, ebp
je 0x2698d8
mov eax, dword [ebp]
test eax, eax
je 0x2698d8
cmp eax, 0x20
ja 0x269975
lea ecx, [esi + 0x24c]
push eax
push dword [ebp + 8]
push ecx
call fcn.004f8d80
xor edx, edx
add esp, 0xc
mov ecx, dword [ebp]
mov dword [esi + 0x248], ecx
mov ebx, dword [edi + 0x10]
test ebx, ebx
je 0x269904
mov eax, dword [ebx]
test eax, eax
je 0x269904
cmp eax, 0x200
ja 0x269971
lea ecx, [esi + 0x48]
push eax
push dword [ebx + 8]
push ecx
call fcn.004f8d80
add esp, 0xc
mov edx, dword [ebx]
mov dword [esi + 4], edx
mov eax, dword [edi + 0x20]
mov ebx, dword [edi + 0x24]
mov ecx, eax
or ecx, ebx
je 0x2699a0
mov ecx, 0x3b9aca00
mul ecx
mov ecx, edx
imul edx, ebx, 0x3b9aca00
add edx, ecx
jmp 0x2699a5
mov ebp, 0xfe
mov ebx, 0x11e
jmp 0x26994c
mov ebp, 0x89
mov ebx, 0x12e
jmp 0x26994c
mov ebp, 0x103
mov ebx, 0x125
call fcn.00327120
push 0x797edb
push ebx
push 0x797ecc
call fcn.00327220
add esp, 0xc
push 0
push ebp
push 0x14
call fcn.00327310
add esp, 0xc
mov ebx, dword [esp + 0x20]
push 0x797ef0
push edi
call fcn.002e87c0
add esp, 8
test ebx, ebx
je 0x26998b
cmp dword [ebx], esi
je 0x269994
push esi
call fcn.0027d900
add esp, 4
xor esi, esi
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.003593d0
mov dword [esi + 0x2bc], edx
mov dword [esi + 0x2b8], eax
mov ebx, dword [edi + 0x2c]
mov ecx, dword [edi + 0x28]
mov edx, 0x3b9aca00
mov eax, ecx
mul edx
imul ebp, ebx, 0x3b9aca00
add ebp, edx
xor edx, edx
or ecx, ebx
mov dword [esp], 0
cmove ebp, edx
mov ecx, 0xb2d05e00
cmovne ecx, eax
mov dword [esi + 0x2b0], ecx
mov dword [esi + 0x2b4], ebp
push esi
call fcn.0027ccf0
add esp, 4
push dword [esi + 0x2a0]
call fcn.003ae400
add esp, 4
mov eax, dword [edi + 0x30]
mov dword [esi + 0x2a0], eax
mov dword [edi + 0x30], 0
push dword [esi + 0x29c]
call fcn.0033d230
add esp, 4
mov dword [esi + 0x29c], 0
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x269a60
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov ebx, dword [eax + 8]
mov dword [esp + 8], ebx
lea ebx, [esp + 8]
push ecx
push edx
push dword [eax]
push ebx
push 0
call fcn.003acd70
add esp, 0x14
mov dword [esi + 0x29c], eax
test eax, eax
je 0x269971
mov ebx, dword [edi + 0x34]
test ebx, ebx
je 0x269a94
mov eax, dword [ebx]
test eax, eax
mov ebp, dword [esp + 0x24]
je 0x269a98
cmp eax, 0x20
ja 0x269971
lea ecx, [esi + 0x270]
push eax
push dword [ebx + 8]
push ecx
call fcn.004f8d80
add esp, 0xc
mov eax, dword [ebx]
mov dword [esp], eax
jmp 0x269a98
mov ebp, dword [esp + 0x24]
mov eax, dword [esp]
mov dword [esi + 0x26c], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x2a8], eax
lea ecx, [esi + 0x2e0]
mov edx, dword [edi + 0x3c]
call fcn.00269c40
test eax, eax
je 0x269971
lea ecx, [esi + 0x290]
mov edx, dword [edi + 0x50]
call fcn.00269c40
test eax, eax
mov ebx, dword [esp + 0x20]
je 0x269975
lea ecx, [esi + 0x294]
mov edx, dword [edi + 0x54]
call fcn.00269c40
test eax, eax
je 0x269975
mov eax, dword [edi + 0x40]
mov dword [esi + 0x2ec], eax
mov eax, dword [edi + 0x48]
mov dword [esi + 0x2f0], eax
push 0x173
push 0x797ecc
push dword [esi + 0x2e4]
call fcn.0034cbc0
add esp, 0xc
mov ecx, dword [edi + 0x4c]
xor eax, eax
mov edx, 0
test ecx, ecx
je 0x269b3e
mov ebx, dword [ecx]
mov edx, dword [ecx + 8]
mov dword [esi + 0x2e8], ebx
mov ebx, dword [esp + 0x20]
mov dword [ecx + 8], 0
mov dword [esi + 0x2e4], edx
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x269b56
cmp dword [ecx], 1
jne 0x269bb1
mov eax, dword [ecx + 8]
movzx eax, byte [eax]
mov dword [esi + 0x2c8], eax
lea ecx, [esi + 0x304]
mov edx, dword [edi + 0x58]
call fcn.00269c40
test eax, eax
je 0x269975
mov eax, dword [edi + 0x60]
mov dword [esi + 0x310], eax
mov eax, dword [edi + 0x68]
mov dword [esi + 0x2f4], eax
push 0x18f
push 0x797ecc
push dword [esi + 0x2f8]
call fcn.0034cbc0
add esp, 0xc
mov edx, dword [edi + 0x6c]
test edx, edx
je 0x269bc0
mov eax, dword [edx]
mov ecx, dword [edx + 8]
mov dword [edx + 8], 0
jmp 0x269bc4
mov ebp, 0x10f
mov ebx, 0x17e
jmp 0x26994c
xor ecx, ecx
xor eax, eax
mov dword [esi + 0x2f8], ecx
mov dword [esi + 0x2fc], eax
movzx eax, byte [edi + 0x70]
mov byte [esi + 0x300], al
push 0x19b
push 0x797ecc
push dword [esi + 0x308]
call fcn.0034cbc0
add esp, 0xc
mov ecx, dword [edi + 0x74]
test ecx, ecx
je 0x269c07
mov edx, dword [ecx]
mov eax, dword [ecx + 8]
mov dword [ecx + 8], 0
jmp 0x269c0b
xor eax, eax
xor edx, edx
mov dword [esi + 0x308], eax
mov dword [esi + 0x30c], edx
push 0x797ef0
push edi
call fcn.002e87c0
add esp, 8
test ebx, ebx
je 0x269c30
cmp dword [ebx], 0
jne 0x269c30
mov dword [ebx], esi
mov eax, dword [esp + 4]
mov dword [ebp], eax
jmp 0x269996