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

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x18c
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0xc8]
mov dword [ebp + 0x64], esi
call fcn.3000d761
lea edi, [esi + 4]
mov eax, dword [edi + 4]
mov ecx, dword [edi]
mov cl, byte [eax + ecx]
inc eax
cmp byte [ebp + 0x7c], 0
mov dword [edi + 4], eax
movzx eax, cl
mov dword [ebp + 0x14], eax
jne 0x300898bc
mov eax, dword [edi + 4]
mov ecx, dword [edi]
mov cl, byte [eax + ecx]
inc eax
mov dword [edi + 4], eax
xor eax, eax
mov ah, cl
or dword [ebp + 0x14], eax
mov ecx, dword [edi + 4]
mov eax, dword [edi]
add eax, ecx
add ecx, 2
mov dword [edi + 4], ecx
xor ecx, ecx
test byte [ebp + 0x15], 8
mov ch, byte [eax + 1]
mov cl, byte [eax]
mov dword [ebp + 0x1c], esi
mov dword [ebp + 0x20], ecx
je 0x30089a5f
mov ecx, dword [esi + 0x2c]
cmp byte [ecx + 0x556], 0
je 0x30089a5f
and dword [ebp + 0x6c], 0
call fcn.30085ec3
mov dword [ebp + 0x70], eax
mov eax, dword [esi + 0xd0]
mov ebx, dword [eax + 0x24]
mov ecx, edi
mov dword [ebp + 0x60], ebx
call fcn.30085927
mov esi, dword [esi + 0x2c]
mov dword [ebp + 0x68], eax
mov eax, dword [esi + 0x264]
xor edi, edi
push ebx
lea ecx, [ebp - 0x118]
mov dword [ebp + 0x5c], eax
mov dword [ebp - 0x118], edi
call fcn.30165570
lea eax, [ebp - 0x10c]
push edi
push eax
call fcn.30166ce0
cmp eax, edi
mov esi, dword [ebp + 0x60]
mov ebx, dword [esi + 0x33c]
pop ecx
pop ecx
jne 0x3008999e
push dword [ebp + 0x68]
mov ecx, esi
call fcn.3015f470
mov ecx, dword [ebp + 0x70]
push eax
push dword [ebp + 0x5c]
call fcn.300fd303
push dword [ebp + 0x68]
mov esi, eax
call fcn.300367ec
cmp esi, edi
pop ecx
je 0x3008998e
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x24]
mov ecx, dword [ebp + 0x70]
push 0xffffffffffffffff
push eax
call fcn.301260d5
mov ebx, eax
mov dword [ebp + 0x6c], ebx
jmp 0x300899b4
lea ecx, [ebp - 0x118]
call fcn.301655b0
jmp 0x30089d27
lea ecx, [ebp - 0x118]
call fcn.301655f0
push ebx
mov ecx, esi
call fcn.300fd303
mov ebx, dword [ebp + 0x6c]
lea ecx, [ebp - 0x118]
call fcn.301655b0
cmp ebx, edi
je 0x30089d27
test byte [ebp + 0x15], 0x10
je 0x30089a54
cmp dword [ebx + 0x78], 1
jne 0x30089d27
push 0x80
call fcn.300367dc
cmp eax, edi
mov esi, dword [ebp + 0x64]
pop ecx
je 0x30089a09
mov edx, dword [esi + 0x2c]
push 0xff
push 0xc
push 0xfff4
push edx
mov ecx, eax
call fcn.30078963
mov dword [ebp + 0x18], eax
jmp 0x30089a0c
mov dword [ebp + 0x18], edi
push 0x24
call fcn.300367dc
mov edi, eax
test edi, edi
pop ecx
je 0x30089a41
push 0x50
call fcn.300367dc
test eax, eax
pop ecx
je 0x30089a36
push ebx
push dword [esi + 0xd0]
mov ecx, eax
call fcn.300fd303
jmp 0x30089a38
xor eax, eax
push 0
mov ecx, edi
jmp 0x30089b06
xor eax, eax
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov eax, dword [ebp + 0x18]
or byte [eax + 0x7f], 1
jmp 0x30089b47
mov esi, dword [ebp + 0x64]
mov dword [ebp + 0x18], ebx
jmp 0x30089b47
test byte [ebp + 0x15], 0x10
je 0x30089b13
test byte [ebp + 0x14], 2
je 0x30089b43
mov ecx, dword [edi + 4]
mov eax, dword [edi]
add eax, ecx
add ecx, 2
mov dword [edi + 4], ecx
xor ecx, ecx
mov ch, byte [eax + 1]
mov cl, byte [eax]
push ecx
mov ecx, dword [esi + 0x2c]
call fcn.30084dbf
mov edi, eax
test edi, edi
je 0x30089d27
cmp dword [edi + 0x78], 1
jne 0x30089d27
push 0x80
call fcn.300367dc
test eax, eax
pop ecx
je 0x30089acf
mov edx, dword [esi + 0x2c]
push 0xff
push 0xc
push 0xfff4
push edx
mov ecx, eax
call fcn.30078963
mov dword [ebp + 0x18], eax
jmp 0x30089ad3
and dword [ebp + 0x18], 0
push 0x24
call fcn.300367dc
mov ebx, eax
test ebx, ebx
pop ecx
je 0x30089a41
push 0x50
call fcn.300367dc
test eax, eax
pop ecx
je 0x30089b01
push edi
push dword [esi + 0xd0]
mov ecx, eax
call fcn.300fd303
jmp 0x30089b03
xor eax, eax
push edi
mov ecx, ebx
push 0
push eax
call fcn.30040e41
jmp 0x30089a43
test byte [ebp + 0x14], 2
je 0x30089b43
mov ecx, dword [edi + 4]
mov eax, dword [edi]
add eax, ecx
add ecx, 2
mov dword [edi + 4], ecx
xor ecx, ecx
mov ch, byte [eax + 1]
mov cl, byte [eax]
push ecx
mov ecx, dword [esi + 0x2c]
call fcn.30084dbf
test eax, eax
mov dword [ebp + 0x18], eax
je 0x30089d27
jmp 0x30089b47
and dword [ebp + 0x18], 0
test byte [ebp + 0x14], 4
je 0x30089b5e
lea eax, [ebp - 0xc8]
push eax
lea ecx, [esi + 4]
call fcn.300fd303
jmp 0x30089b7e
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x30089b6d
mov eax, dword [eax + 0xd0]
jmp 0x30089b6f
xor eax, eax
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.300350a4
pop ecx
pop ecx
test byte [ebp + 0x14], 8
je 0x30089b97
push 1
lea eax, [ebp - 0xac]
push eax
lea ecx, [esi + 4]
call fcn.30085820
jmp 0x30089ba2
lea ecx, [ebp - 0xac]
call fcn.3005923c
test byte [ebp + 0x14], 0x10
je 0x30089bc3
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
add eax, ecx
add ecx, 2
mov dword [esi + 8], ecx
xor ecx, ecx
mov ch, byte [eax + 1]
mov cl, byte [eax]
mov word [ebp + 0x24], cx
jmp 0x30089bc8
and word [ebp + 0x24], 0
test byte [ebp + 0x14], 0x20
mov eax, dword [esi + 0x2c]
je 0x30089bf9
mov edi, dword [esi + 4]
add edi, dword [esi + 8]
lea ecx, [ebp + 0x58]
push edi
push ecx
mov ecx, dword [eax + 0xd0]
call fcn.3009b85f
mov eax, dword [eax]
push edi
mov dword [ebp + 0x2c], eax
call fcn.3022ba80
inc eax
add dword [esi + 8], eax
pop ecx
jmp 0x30089c08
mov eax, dword [eax + 0xd0]
mov eax, dword [eax + 0xac4]
mov dword [ebp + 0x2c], eax
test byte [ebp + 0x14], 0x40
je 0x30089c29
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
add eax, ecx
add ecx, 2
mov dword [esi + 8], ecx
xor ecx, ecx
mov ch, byte [eax + 1]
mov cl, byte [eax]
mov word [ebp + 0x26], cx
jmp 0x30089c2e
and word [ebp + 0x26], 0
mov edi, 0x100
test dword [ebp + 0x14], edi
je 0x30089c64
push 0xc
call fcn.300367dc
xor ebx, ebx
cmp eax, ebx
pop ecx
je 0x30089c53
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov dword [eax + 8], ebx
mov dword [ebp + 0x48], eax
jmp 0x30089c56
mov dword [ebp + 0x48], ebx
mov ecx, dword [ebp + 0x48]
lea eax, [esi + 4]
push eax
call fcn.3003e059
jmp 0x30089c66
xor ebx, ebx
test byte [ebp + 0x15], 2
je 0x30089c7e
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
mov cl, byte [eax + ecx]
inc eax
mov byte [ebp + 0x45], cl
mov dword [esi + 8], eax
jmp 0x30089c82
mov byte [ebp + 0x45], 1
test byte [ebp + 0x15], 4
je 0x30089c9a
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
mov cl, byte [eax + ecx]
inc eax
mov byte [ebp + 0x4c], cl
mov dword [esi + 8], eax
jmp 0x30089c9e
mov byte [ebp + 0x4c], 0
test byte [ebp + 0x14], 0x80
je 0x30089cd3
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + 0xb4]
mov eax, dword [eax + 0x2c]
cmp byte [eax + 0x50], 0
jne 0x30089cd3
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
add ecx, eax
mov dword [ebp + 0x30], ecx
mov ecx, dword [esi + 0x14]
sub ecx, eax
mov dword [ebp + 0x34], ecx
mov ecx, dword [esi + 0x3c]
add ecx, eax
mov dword [ebp + 0x40], ecx
jmp 0x30089cd9
mov dword [ebp + 0x30], ebx
mov dword [ebp + 0x34], ebx
mov ecx, dword [esi + 0x2c]
mov eax, dword [ecx + 0x210]
cmp eax, ebx
jne 0x30089ceb
call fcn.3008756b
test byte [ebp + 0x14], 1
mov ecx, dword [esi + 0x50]
mov dword [ebp + 0x3c], eax
lea eax, [ebp - 0xc8]
push eax
push dword [esi + 0x54]
je 0x30089d08
call fcn.300fd303
jmp 0x30089d0d
call fcn.300fd303
test dword [ebp + 0x14], edi
je 0x30089d27
mov ecx, dword [ebp + 0x48]
cmp ecx, ebx
mov esi, ecx
je 0x30089d27
call fcn.3003e00e
push esi
call fcn.300367ec
pop ecx
pop edi
pop esi
pop ebx
add ebp, 0x74
leave
ret 4