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

Disassembly:
sub esp, 0xa8
push ebx
mov ebx, dword [esp + 0xb4]
xor eax, eax
push ebp
mov ebp, dword [esp + 0xb4]
push esi
push edi
lea esi, [esp + 0x18]
mov edi, ebx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], eax
call fcn.00eaef50
test eax, eax
jne 0xeb10f9
mov eax, dword [esp + 0x18]
cmp eax, 2
jne 0xeb0716
cmp dword [esp + 0x1c], 0
jne 0xeb0716
lea esi, [esp + 0x38]
call fcn.00eaef50
test eax, eax
jne 0xeb10f9
mov eax, dword [esp + 0x38]
or eax, dword [esp + 0x3c]
mov edi, ebx
je 0xeb0701
lea esi, [esp + 0x50]
call fcn.00eaef50
test eax, eax
jne 0xeb10f9
mov edx, dword [esp + 0x54]
mov eax, dword [ebx + 4]
xor ecx, ecx
cmp edx, ecx
ja 0xeb10f4
mov ecx, dword [esp + 0x50]
jb 0xeb06e2
cmp ecx, eax
ja 0xeb10f4
add dword [ebx], ecx
sub eax, ecx
lea esi, [esp + 0x38]
mov dword [ebx + 4], eax
call fcn.00eaef50
test eax, eax
je 0xeb06a6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret
lea esi, [esp + 0x18]
call fcn.00eaef50
test eax, eax
jne 0xeb10f9
mov eax, dword [esp + 0x18]
cmp eax, 3
jne 0xeb07fb
cmp dword [esp + 0x1c], 0
jne 0xeb07fb
mov edi, dword [esp + 0xd4]
mov ecx, dword [ebp + 0x30]
mov edx, dword [esp + 0xc8]
xor eax, eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov eax, dword [ebp + 0x34]
push edi
push eax
mov eax, dword [esp + 0xcc]
push ecx
push edx
push ebx
push eax
lea eax, [esp + 0xa4]
mov edx, 8
call fcn.00eb0330
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xe4]
add esp, 0x18
lea esi, [esp + 0x8c]
mov dword [esp + 0x34], eax
mov dword [edx], ecx
call fcn.00eaed50
cmp dword [esp + 0x34], 0
je 0xeb07e4
mov eax, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret
lea esi, [esp + 0x18]
mov edi, ebx
call fcn.00eaef50
test eax, eax
jne 0xeb10f9
mov eax, dword [esp + 0x18]
cmp eax, 4
jne 0xeb086d
cmp dword [esp + 0x1c], 0
jne 0xeb086d
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xcc]
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0xcc]
lea esi, [ebp + 0x38]
push esi
push edx
push eax
mov eax, dword [esp + 0xd0]
push 0x40000000
push ebp
lea ebx, [esp + 0x78]
call fcn.00eb0210
add esp, 0x18
test eax, eax
jne 0xeb10f9
mov ecx, dword [ebp + 0x30]
add dword [esi], ecx
mov edx, dword [ebp + 0x34]
mov edi, dword [esp + 0xc0]
adc dword [esi + 4], edx
lea esi, [esp + 0x18]
call fcn.00eaef50
test eax, eax
jne 0xeb10f9
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, eax
or edx, ecx
jne 0xeb0884
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret
cmp eax, 5
jne 0xeb10f4
xor eax, eax
cmp ecx, eax
jne 0xeb10f4
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xc0]
lea ebx, [esp + 0x2c]
call fcn.00eaf050
test eax, eax
jne 0xeb10f9
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0xc0]
lea esi, [esp + 0x18]
mov edi, ebx
mov dword [ebp + 0x40], eax
call fcn.00eaef50
test eax, eax
jne 0xeb10f9
mov ecx, dword [esp + 0x18]
or ecx, dword [esp + 0x1c]
je 0xeb0bbc
lea esi, [esp + 0x38]
mov edi, ebx
call fcn.00eaef50
test eax, eax
jne 0xeb10f9
mov edx, dword [esp + 0x3c]
mov eax, dword [ebx + 4]
xor ecx, ecx
cmp edx, ecx
ja 0xeb10f4
mov esi, dword [esp + 0x38]
jb 0xeb0920
cmp esi, eax
ja 0xeb10f4
cmp dword [esp + 0x1c], ecx
ja case.0xeb0946.16
mov ecx, dword [esp + 0x18]
cmp ecx, 0x100
jae case.0xeb0946.16
add ecx, 0xfffffff2
cmp ecx, 7
ja case.0xeb0946.16
jmp dword [ecx*4 + 0xeb1114]
test eax, eax
je 0xeb10f4
dec eax
mov dword [ebx + 4], eax
mov eax, dword [ebx]
mov cl, byte [eax]
inc eax
mov byte [esp + 0x17], cl
mov dword [ebx], eax
test cl, cl
jne 0xeb0971
dec esi
mov dword [esp + 0x24], esi
mov edi, eax
jmp 0xeb09b5
mov eax, dword [esp + 0xc0]
lea ebx, [esp + 0x50]
call fcn.00eaf050
test eax, eax
jne 0xeb10f9
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0xcc]
cmp ecx, dword [eax]
jae 0xeb10f4
mov eax, dword [esp + 0xc8]
mov edi, dword [eax + ecx*8]
mov ecx, dword [eax + ecx*8 + 4]
mov ebx, dword [esp + 0xc0]
mov dword [esp + 0x24], ecx
test byte [esp + 0x24], 1
jne 0xeb10f4
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0xd0]
mov ecx, dword [esi]
lea eax, [edx*4 + 4]
push eax
push esi
call ecx
add esp, 8
mov dword [ebp + 0x74], eax
test eax, eax
je 0xeb1104
mov edx, dword [esp + 0x24]
test edx, edx
jne 0xeb09f2
xor ebp, ebp
jmp 0xeb0a19
push edx
mov edx, dword [esi]
push esi
call edx
add esp, 8
mov dword [ebp + 0x78], eax
test eax, eax
je 0xeb1104
mov ecx, dword [esp + 0x24]
push ecx
push edi
push eax
call fcn.00ec08c0
mov edx, dword [esp + 0x30]
add esp, 0xc
mov ecx, dword [ebp + 0x74]
mov eax, dword [esp + 0x2c]
mov edi, edx
mov edx, dword [ebp + 0x78]
call fcn.00eb0470
test eax, eax
jne 0xeb10f9
cmp byte [esp + 0x17], al
jne 0xeb0b9e
mov eax, dword [esp + 0x24]
sub dword [ebx + 4], eax
add dword [ebx], eax
jmp 0xeb0b9e
mov esi, dword [esp + 0x2c]
lea edi, [esp + 0x44]
mov eax, esi
mov edx, ebx
call fcn.00eaf1b0
test eax, eax
jne 0xeb10f9
mov ecx, dword [esp + 0x44]
mov eax, esi
call fcn.00eaf1e0
mov dword [esp + 0x30], eax
mov dword [esp + 0x5c], 0
jmp 0xeb0b9e
mov eax, dword [esp + 0x30]
lea edi, [esp + 0x5c]
mov edx, ebx
call fcn.00eaf1b0
test eax, eax
jne 0xeb10f9
jmp 0xeb0b9e
mov esi, dword [esp + 0xd0]
lea edi, [ebp + 0x54]
call fcn.00eaecf0
mov eax, dword [esp + 0x2c]
mov edx, esi
push edx
push edi
mov ecx, ebx
call fcn.00eaf220
add esp, 8
test eax, eax
jne 0xeb10f9
mov eax, dword [ebx + 4]
test eax, eax
je 0xeb10f4
dec eax
mov dword [ebx + 4], eax
mov eax, dword [ebx]
mov cl, byte [eax]
inc eax
mov dword [ebx], eax
test cl, cl
jne 0xeb0ae2
mov eax, ebx
jmp 0xeb0b2e
mov eax, dword [esp + 0xc0]
lea ebx, [esp + 0x34]
call fcn.00eaf050
test eax, eax
jne 0xeb10f9
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0xcc]
cmp ecx, dword [eax]
jae 0xeb10f4
mov eax, dword [esp + 0xc8]
mov edx, dword [eax + ecx*8]
mov eax, dword [eax + ecx*8 + 4]
mov ebx, dword [esp + 0xc0]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], edx
lea eax, [esp + 0x48]
mov ecx, dword [esp + 0x2c]
push ecx
push eax
mov eax, esi
mov ecx, edi
call fcn.00eaf2f0
add esp, 8
test eax, eax
jne 0xeb10f9
jmp 0xeb0b9e
mov edx, dword [esp + 0xd0]
mov eax, dword [esp + 0xcc]
mov ecx, dword [eax]
push edx
push ecx
lea ecx, [ebp + 0x5c]
mov edx, dword [esp + 0xd0]
mov eax, dword [esp + 0x34]
push edx
push ebx
push eax
push ecx
call fcn.00eb04e0
add esp, 0x18
test eax, eax
jne 0xeb10f9
jmp 0xeb0b9e
mov edx, dword [esp + 0xd0]
mov eax, dword [esp + 0xcc]
mov ecx, dword [eax]
push edx
push ecx
lea ecx, [ebp + 0x64]
jmp 0xeb0b5f
sub eax, esi
add dword [ebx], esi
mov dword [ebx + 4], eax
lea esi, [esp + 0x18]
mov edi, ebx
call fcn.00eaef50
test eax, eax
je 0xeb08e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret
mov edx, dword [esp + 0x2c]
sub edx, dword [esp + 0x30]
cmp edx, dword [esp + 0x60]
jne 0xeb10f4
lea esi, [esp + 0x38]
mov edi, ebx
call fcn.00eaef50
test eax, eax
jne 0xeb10f9
mov eax, dword [esp + 0x38]
or eax, dword [esp + 0x3c]
je 0xeb0c14
mov eax, ebx
call fcn.00eaf0d0
test eax, eax
jne 0xeb10f9
lea esi, [esp + 0x38]
mov edi, ebx
call fcn.00eaef50
test eax, eax
je 0xeb0be1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret
mov ecx, dword [ebp + 4]
mov esi, dword [esp + 0xd0]
mov eax, dword [esi]
xor edi, edi
lea edx, [ecx*4 + 4]
push edx
push esi
mov dword [esp + 0x58], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], edi
mov byte [esp + 0x1f], 0
mov byte [esp + 0x1e], 0
mov byte [esp + 0x1d], 0
mov byte [esp + 0x1c], 0x80
call eax
add esp, 8
mov dword [ebp + 0x6c], eax
cmp eax, edi
je 0xeb1104
mov eax, dword [ebp + 0x40]
cmp eax, edi
jne 0xeb0c7b
mov dword [ebp + 0x70], edi
jmp 0xeb0c96
mov edx, dword [esi]
lea ecx, [eax*4]
push ecx
push esi
call edx
add esp, 8
mov dword [ebp + 0x70], eax
cmp eax, edi
je 0xeb1104
mov eax, dword [ebp + 0x40]
mov edx, dword [esi]
lea ecx, [eax*8 + 8]
push ecx
push esi
call edx
add esp, 8
mov dword [ebp + 0x44], eax
cmp eax, edi
je 0xeb1104
mov eax, dword [ebp + 0x40]
add eax, 7
shr eax, 3
cmp eax, edi
jne 0xeb0cc6
mov dword [ebp + 0x48], edi
jmp 0xeb0cda
push eax
mov eax, dword [esi]
push esi
call eax
add esp, 8
mov dword [ebp + 0x48], eax
cmp eax, edi
je 0xeb1104
mov edi, dword [ebp + 0x40]
lea ebx, [ebp + 0x4c]
call fcn.00eaeca0
test eax, eax
jne 0xeb10f9
cmp dword [esp + 0x7c], eax
je 0xeb0d24
mov eax, dword [esp + 0x78]
mov cl, byte [eax]
dec dword [esp + 0x7c]
inc eax
mov byte [esp + 0x17], cl
mov dword [esp + 0x78], eax
test cl, cl
je 0xeb0d10
mov dword [esp + 0x30], eax
jmp 0xeb0d24
mov ecx, dword [esp + 0x64]
add ecx, 7
shr ecx, 3
add ecx, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
cmp dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
jbe 0xeb1084
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x30], ecx
nop
cmp byte [esp + 0x14], 0
mov eax, dword [esp + 0x28]
jne 0xeb0d78
movzx ecx, byte [esp + 0x16]
mov edx, dword [ebp + 0x48]
dec eax
shr eax, 3
mov byte [eax + edx], cl
movzx ecx, byte [esp + 0x15]
mov edx, dword [ebp + 0x4c]
mov byte [eax + edx], cl
mov eax, dword [esp + 0x28]
mov byte [esp + 0x16], 0
mov byte [esp + 0x15], 0
mov byte [esp + 0x14], 0x80
mov ecx, dword [ebp + 0x44]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x44]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], edi
mov ecx, dword [ebp + 0x50]
mov dword [ecx + eax*4], 0
test esi, esi
je 0xeb0e09
mov ecx, eax
and ecx, 7
mov edx, 0x80
sar edx, cl
mov ecx, eax
shr ecx, 3
mov cl, byte [ecx + esi]
test cl, dl
je 0xeb0e09
mov edx, dword [esp + 0x5c]
test edx, edx
je 0xeb0de7
mov esi, dword [esp + 0x50]
mov ecx, esi
and ecx, 7
mov ebx, 0x80
sar ebx, cl
mov ecx, esi
shr ecx, 3
mov dl, byte [ecx + edx]
test dl, bl
jne 0xeb0de0
mov cl, byte [esp + 0x14]
or byte [esp + 0x16], cl
inc esi
mov dword [esp + 0x50], esi
jmp 0xeb0def
mov dl, byte [esp + 0x14]
or byte [esp + 0x16], dl
cmp dword [esp + 0x40], 0
jne 0xeb0e9f
mov ecx, dword [ebp + 0x70]
mov dword [ecx + eax*4], 0xffffffff
jmp 0xeb104c
cmp dword [esp + 0x40], 0
jne 0xeb0e9f
mov esi, dword [esp + 0x24]
jmp 0xeb0e20
cmp esi, dword [ebp + 4]
jae 0xeb10f4
cmp dword [esp + 0x68], 0
mov edx, dword [ebp + 0x6c]
mov dword [edx + esi*4], eax
mov dword [esp + 0x48], 1
je 0xeb0e53
lea ebx, [esp + 0x48]
lea eax, [esp + 0x68]
call fcn.00eaf050
test eax, eax
jne 0xeb10f9
mov eax, dword [esp + 0x48]
mov dword [esp + 0x40], eax
test eax, eax
jne 0xeb0ea3
mov eax, dword [ebp + 0x20]
movzx eax, byte [eax + esi]
mov ecx, dword [ebp + 0x1c]
add eax, dword [ecx + esi*4]
mov ecx, dword [ebp + 0x24]
mov edx, dword [ecx + eax*8]
add dword [esp + 0x18], edx
mov eax, dword [ecx + eax*8 + 4]
adc edi, eax
mov dword [esp + 0x1c], edi
cmp edi, eax
jb 0xeb10f4
ja 0xeb0e94
cmp dword [esp + 0x18], edx
jb 0xeb10f4
mov eax, dword [esp + 0x28]
inc esi
mov dword [esp + 0x24], esi
jmp 0xeb0e20
mov esi, dword [esp + 0x24]
mov edx, dword [ebp + 0x70]
mov eax, dword [esp + 0x28]
mov dword [edx + eax*4], esi
mov edx, dword [esp + 0x44]
test edx, edx
je 0xeb0ed7
mov ecx, eax
and ecx, 7
mov ebx, 0x80
sar ebx, cl
shr eax, 3
mov al, byte [eax + edx]
test al, bl
jne 0xeb104c
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
sub dword [esp + 0x40], 1
mov ebx, dword [esp + 0x18]
jne 0xeb0fd1
mov ecx, dword [ebp + 0x20]
movzx eax, byte [ecx + esi]
mov edx, dword [ebp + 0x1c]
add eax, dword [edx + esi*4]
mov ecx, dword [ebp + 0x24]
mov edx, dword [ecx + eax*8]
mov eax, dword [ecx + eax*8 + 4]
mov ecx, dword [ebp + 0x6c]
mov dword [esp + 0x38], edx
mov edx, dword [ebp + 0x44]
mov dword [esp + 0x3c], eax
mov eax, dword [ecx + esi*4]
mov ecx, dword [edx + eax*8]
mov edx, dword [edx + eax*8 + 4]
sub ebx, ecx
sbb edi, edx
cmp dword [esp + 0x3c], edi
jb 0xeb10f4
mov edi, dword [esp + 0x38]
ja 0xeb0f31
cmp edi, ebx
jb 0xeb10f4
mov eax, dword [esp + 0x3c]
add ecx, edi
adc edx, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
cmp edx, eax
jb 0xeb10f4
ja 0xeb0f53
cmp ecx, edi
jb 0xeb10f4
cmp dword [esp + 0x48], 1
mov eax, dword [esp + 0x28]
jne 0xeb0f9b
mov edi, dword [ebp + 0xc]
test edi, edi
je 0xeb0f9b
mov ecx, eax
and ecx, 7
mov edx, 0x80
sar edx, cl
mov ecx, eax
shr ecx, 3
mov cl, byte [ecx + edi]
test cl, dl
je 0xeb0f9b
mov edx, dword [ebp + 0x10]
mov edx, dword [edx + esi*4]
mov ecx, dword [ebp + 0x50]
mov dword [ecx + eax*4], edx
mov al, byte [esp + 0x14]
or byte [esp + 0x15], al
inc esi
mov dword [esp + 0x24], esi
jmp 0xeb104c
cmp byte [esp + 0x17], 0
jne 0xeb0faf
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0xeb0fca
test byte [ecx], 0x80
je 0xeb0fca
mov ecx, dword [esp + 0x30]
mov edi, dword [ecx]
mov edx, dword [ebp + 0x50]
mov dword [edx + eax*4], edi
mov al, byte [esp + 0x14]
add ecx, 4
or byte [esp + 0x15], al
mov dword [esp + 0x30], ecx
inc esi
mov dword [esp + 0x24], esi
jmp 0xeb104c
lea esi, [esp + 0x80]
lea edi, [esp + 0x70]
call fcn.00eaef50
test eax, eax
jne 0xeb10f9
mov edx, dword [esp + 0x80]
add dword [esp + 0x18], edx
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x1c]
adc ecx, eax
mov dword [esp + 0x1c], ecx
cmp ecx, eax
jb 0xeb10f4
ja 0xeb1019
cmp dword [esp + 0x18], edx
jb 0xeb10f4
cmp byte [esp + 0x17], 0
jne 0xeb102d
mov eax, dword [esp + 0x34]
test eax, eax
je 0xeb104c
test byte [eax], 0x80
je 0xeb104c
mov eax, dword [esp + 0x30]
mov edx, dword [eax]
mov ecx, dword [ebp + 0x50]
mov esi, dword [esp + 0x28]
add eax, 4
mov dword [esp + 0x30], eax
mov al, byte [esp + 0x14]
or byte [esp + 0x15], al
mov dword [ecx + esi*4], edx
mov eax, dword [esp + 0x28]
shr byte [esp + 0x14], 1
inc eax
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x2c]
jb 0xeb0d40
cmp byte [esp + 0x14], 0x80
je 0xeb1084
movzx edx, byte [esp + 0x16]
mov ecx, dword [ebp + 0x48]
dec eax
shr eax, 3
mov byte [eax + ecx], dl
movzx edx, byte [esp + 0x15]
mov ecx, dword [ebp + 0x4c]
mov byte [eax + ecx], dl
cmp dword [esp + 0x40], 0
mov eax, dword [ebp + 0x44]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
mov dword [eax + ecx*8], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*8 + 4], edx
jne 0xeb10f4
mov eax, dword [esp + 0x24]
mov edx, dword [ebp + 0x6c]
mov dword [edx + eax*4], ecx
cmp eax, dword [ebp + 4]
jae 0xeb10de
mov esi, eax
mov edi, ecx
cmp dword [esp + 0x68], 0
je 0xeb10f4
lea ebx, [esp + 0x48]
lea eax, [esp + 0x68]
call fcn.00eaf050
test eax, eax
jne 0xeb10f9
cmp dword [esp + 0x48], eax
jne 0xeb10f4
mov eax, dword [ebp + 0x6c]
inc esi
mov dword [eax + esi*4], edi
cmp esi, dword [ebp + 4]
jb 0xeb10b4
cmp dword [esp + 0x68], 0
je 0xeb0877
cmp dword [esp + 0x6c], 0
je 0xeb0877
mov eax, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0xa8
ret