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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [edx + 0x1c]
lea eax, [edx + 0x24]
mov ecx, dword [eax + 0x30]
push esi
mov esi, dword [eax + 0x10]
push edi
mov edi, dword [eax + 0x18]
add edi, ebx
add esi, ebx
add ecx, ebx
mov dword [ebp - 0xc], ebx
mov ebx, dword [eax + 0x68]
test ebx, ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edi
je 0x4eca0816
mov edx, dword [ebp - 0xc]
add ebx, edx
mov edx, dword [ebp + 8]
mov dword [ebp - 4], ebx
mov eax, dword [eax + 0x40]
test eax, eax
je 0x4eca081f
mov ebx, dword [ebp - 0xc]
add eax, ebx
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov ebx, dword [ebp + 0xc]
push dword [ebp + 0x10]
mov dword [ebx], eax
xor eax, eax
mov ah, byte [ecx + 4]
push ebx
mov al, byte [ecx + 5]
mov dword [ebx + 0x6c], eax
mov ax, word [edx + 0xea]
call fcn.4ec7a70c
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x2c]
mov dword [ebx + 4], ecx
mov ecx, dword [eax + 0x38]
mov dword [ebx + 0x10], ecx
mov ecx, dword [eax + 0x3c]
mov dword [ebx + 0xc], ecx
mov eax, dword [eax + 0x34]
mov dword [ebx + 8], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0x20], 0xa8071
cmp dword [eax + 0xc4], 0
jne 0x4ecce390
lea ecx, [ebp + 8]
push ecx
push eax
push 0x47495344
call fcn.4ec7c257
test eax, eax
je 0x4ec7b1d3
cmp dword [ebp + 8], 0
je 0x4ec7b1d3
mov dword [ebx + 0x20], 0xe8071
mov eax, dword [ebp + 0x10]
mov cx, word [eax + 0x58]
and word [ebx + 0x28], 0
mov word [ebx + 0x26], cx
cmp dword [eax + 8], 0
jne 0x4eca85ab
mov eax, dword [ebp - 4]
test eax, eax
je 0x4ec7b214
movzx edx, byte [eax + 0xe]
xor ecx, ecx
mov ch, byte [eax + 0xc]
mov cl, byte [eax + 0xd]
movzx eax, byte [eax + 0xf]
shl ecx, 8
or ecx, edx
shl ecx, 8
or ecx, eax
jne 0x4eca080a
push dword [ebp - 0x14]
push dword [ebp - 0xc]
call fcn.4ec7b51a
mov word [ebp + 0xc], ax
mov word [ebx + 0x24], ax
xor eax, eax
mov ah, byte [esi + 0x12]
mov ecx, dword [ebp - 8]
mov al, byte [esi + 0x13]
mov word [ebx + 0x2a], ax
xor eax, eax
mov ah, byte [edi + 4]
mov al, byte [edi + 5]
mov word [ebx + 0x30], ax
xor eax, eax
mov ah, byte [edi + 6]
mov al, byte [edi + 7]
mov word [ebx + 0x32], ax
xor eax, eax
test ecx, ecx
mov ah, byte [edi + 8]
mov al, byte [edi + 9]
mov word [ebx + 0x34], ax
je 0x4ecce3b3
xor eax, eax
mov ah, byte [ecx + 0x4a]
mov al, byte [ecx + 0x4b]
mov word [ebx + 0x2c], ax
xor eax, eax
mov ah, byte [ecx + 0x4c]
mov al, byte [ecx + 0x4d]
mov word [ebx + 0x2e], ax
xor eax, eax
mov ah, byte [ecx + 0x44]
mov al, byte [ecx + 0x45]
mov word [ebx + 0x36], ax
xor eax, eax
mov ah, byte [ecx + 0x46]
mov al, byte [ecx + 0x47]
mov word [ebx + 0x38], ax
xor eax, eax
mov ah, byte [ecx + 0x48]
mov al, byte [ecx + 0x49]
mov word [ebx + 0x3a], ax
movzx edx, byte [esi + 0x25]
xor eax, eax
mov ah, byte [esi + 0x24]
movsx eax, ax
or eax, edx
mov dword [ebx + 0x5c], eax
movzx edx, byte [esi + 0x2b]
xor eax, eax
mov ah, byte [esi + 0x2a]
movsx eax, ax
or eax, edx
mov dword [ebx + 0x60], eax
movzx edx, byte [esi + 0x29]
xor eax, eax
mov ah, byte [esi + 0x28]
movsx eax, ax
or eax, edx
mov dword [ebx + 0x64], eax
movzx edx, byte [esi + 0x27]
xor eax, eax
mov ah, byte [esi + 0x26]
movsx eax, ax
or eax, edx
mov dword [ebx + 0x68], eax
mov ax, word [ebx + 0x64]
sub ax, word [ebx + 0x5c]
test ecx, ecx
mov word [ebp + 0xa], ax
mov word [ebx + 0x3e], ax
je 0x4ecce3e5
movzx dx, byte [ecx + 3]
xor eax, eax
mov ah, byte [ecx + 2]
or ax, dx
mov word [ebx + 0x3c], ax
je 0x4ecce3da
movsx eax, word [ebx + 0x2a]
cdq
sub eax, edx
sar eax, 1
mov word [ebx + 0x40], ax
movsx eax, word [ebx + 0x2a]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov word [ebx + 0x42], ax
mov eax, dword [ebp - 4]
test eax, eax
je 0x4ecce3fc
xor edx, edx
mov dh, byte [eax + 0xa]
mov dl, byte [eax + 0xb]
mov word [ebx + 0x44], dx
xor edx, edx
mov dh, byte [eax + 8]
mov dl, byte [eax + 9]
mov word [ebx + 0x46], dx
test ecx, ecx
je 0x4ecce429
xor edx, edx
mov dh, byte [ecx + 0x1a]
mov dl, byte [ecx + 0x1b]
mov word [ebx + 0x48], dx
xor edx, edx
mov dh, byte [ecx + 0x1c]
mov dl, byte [ecx + 0x1d]
mov word [ebx + 0x4a], dx
test ecx, ecx
je 0x4ecce45e
movzx dx, byte [ecx + 5]
xor eax, eax
mov ah, byte [ecx + 4]
or ax, dx
cmp ax, 0xa
mov word [ebx + 0x1c], ax
jb 0x4ecce44a
mov eax, dword [ebp - 4]
lea esi, [ecx + 0x20]
lea edi, [ebx + 0x70]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
cmp byte [ebx + 0x73], 9
mov edi, dword [ebp - 0x10]
je 0x4eca0841
and dword [ebx + 0x50], 0
xor ecx, ecx
mov dword [ebx + 0x4c], 1
mov ch, byte [edi + 0x14]
movzx edx, byte [edi + 0x15]
movsx ecx, cx
or ecx, edx
mov dword [ebx + 0x54], ecx
movzx edx, byte [edi + 0x13]
xor ecx, ecx
mov ch, byte [edi + 0x12]
movsx ecx, cx
or ecx, edx
test eax, eax
mov dword [ebx + 0x58], ecx
je 0x4eca0838
movzx edx, byte [eax + 6]
xor ecx, ecx
mov ch, byte [eax + 4]
mov cl, byte [eax + 5]
movzx eax, byte [eax + 7]
shl ecx, 8
or ecx, edx
shl ecx, 8
or ecx, eax
imul ecx, ecx, 0xa
sar ecx, 0x10
movsx eax, cx
mov dword [ebx + 0x18], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x54]
test ecx, ecx
mov dword [ebx + 0x14], ecx
je 0x4ec7b50e
mov esi, dword [ebp + 0xc]
xor eax, eax
and esi, 0x21
add ecx, ebx
xor edx, edx
sub esi, eax
mov dword [ebp + 0x10], eax
jne 0x4ec7bf60
lea eax, [ecx + 0x20]
mov dword [ebp + 0x10], eax
mov dword [ecx], 0xc
mov dword [ecx + 4], 0x20
mov dword [ecx + 8], 0x34
lea edx, [ecx + 0xc]
lea eax, [ecx + 0x34]
mov cl, byte [ebx + 0x72]
mov byte [ebp - 0x25], cl
mov cx, word [ebx + 0x1c]
mov word [ebp - 0x24], cx
mov cx, word [ebx + 0x24]
and cx, 0xffbf
test edx, edx
mov word [ebp - 0x22], cx
mov cx, word [ebx + 0x3c]
mov word [ebp - 0x20], cx
mov cx, word [ebx + 0x3e]
mov word [ebp - 0x1e], cx
mov ecx, dword [ebx + 0x54]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebx + 0x58]
mov byte [ebp - 0x28], 0
mov byte [ebp - 0x27], 0
mov byte [ebp - 0x26], 0
mov dword [ebp - 0x18], ecx
je 0x4ec7b4b9
push 5
pop ecx
lea esi, [ebp - 0x28]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov byte [eax + 3], 8
or word [edx + 6], 0x20
inc word [edx + 8]
inc word [edx + 0xa]
mov word [edx + 4], 0x2bc
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x4ec7bf80
push 5
pop ecx
push 0x21
lea esi, [ebp - 0x28]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
or word [edx + 6], 1
pop ebx
mov dword [edx + 0xc], 7
mov dword [edx + 0x10], ebx
test eax, eax
je 0x4ec7b50e
push 5
pop ecx
lea esi, [ebp - 0x28]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
or word [eax + 6], bx
inc word [eax + 8]
inc word [eax + 0xa]
mov byte [eax + 3], 8
mov word [eax + 4], 0x2bc
mov dword [eax + 0xc], 7
mov dword [eax + 0x10], ebx
pop edi
pop esi
pop ebx
leave
ret 0x10
dec esi
je 0x4ec7bf6c
sub esi, 0x1f
jne 0x4ec7b452
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], 0xc
lea eax, [ecx + 0xc]
jmp 0x4ec7b452
push 0x21
pop ebx
jmp 0x4ec7b4e0
or dword [ebx + 0x20], 0x400000
jmp 0x4ec7b214
and dword [ebp - 4], 0
jmp 0x4ec7b149
and dword [ebp - 8], 0
jmp 0x4ec7b15c
cmp eax, 0x44534947
je 0x4ec7b1cc
jmp 0x4ec7b1d3
and dword [ebx + 0x18], 0
jmp 0x4ec7b40a
or dword [ebx + 0x20], 0x400000
jmp 0x4ec7b3af
or dword [ebx + 0x20], 0x8000000
mov ax, word [eax + 0x5a]
mov word [ebx + 0x28], ax
jmp 0x4ec7b1ed
mov eax, dword [eax + 0x1c]
push 8
push eax
mov dword [ebp + 8], eax
call fcn.4ed492e0
lea eax, [eax*4 + 0xc]
push eax
push dword [ebp + 8]
call fcn.4ed492e0
jmp 0x4eca0828
movzx eax, word [ebx + 0x30]
movzx edx, word [ebx + 0x32]
mov word [ebx + 0x2c], ax
mov word [ebx + 0x36], ax
movzx eax, word [ebx + 0x32]
neg edx
mov word [ebx + 0x38], ax
mov ax, word [ebx + 0x34]
mov word [ebx + 0x2e], dx
jmp 0x4ec7b29a
movsx eax, word [ebp + 0xa]
cdq
sub eax, edx
sar eax, 1
jmp 0x4ecce3f3
movsx eax, ax
add eax, eax
push 3
cdq
pop ecx
idiv ecx
mov ecx, dword [ebp - 8]
mov word [ebx + 0x3c], ax
jmp 0x4ec7b311
movsx eax, word [ebx + 0x2a]
add eax, 7
cdq
push 0xe
pop ecx
idiv ecx
push 0xfffffffffffffff6
pop ecx
mov word [ebx + 0x44], ax
movsx eax, word [ebx + 0x2a]
add eax, 5
cdq
idiv ecx
mov ecx, dword [ebp - 8]
mov word [ebx + 0x46], ax
mov eax, dword [ebp - 4]
jmp 0x4ec7b352
mov ax, word [ebx + 0x44]
mov word [ebx + 0x48], ax
movsx eax, word [ebx + 0x30]
cdq
push 3
pop ecx
idiv ecx
mov ecx, dword [ebp - 8]
mov word [ebx + 0x4a], ax
mov eax, dword [ebp - 4]
jmp 0x4ec7b372
movzx eax, ax
mov ax, word [eax*2 + 0x4eddcdd8]
mov word [ebx + 0x1c], ax
jmp 0x4ec7b395
mov byte [ebx + 0x70], 2
mov byte [ebx + 0x71], 0
mov cx, word [esi + 0x2c]
and cx, 0x100
neg cx
sbb cl, cl
and cl, 3
add cl, 5
mov byte [ebx + 0x72], cl
mov ecx, dword [ebx + 0x20]
and ecx, 0x400000
neg ecx
sbb cl, cl
mov byte [ebx + 0x74], 0
mov byte [ebx + 0x75], 0
mov byte [ebx + 0x76], 0
mov byte [ebx + 0x77], 0
mov byte [ebx + 0x78], 0
mov byte [ebx + 0x79], 0
and ecx, 9
mov byte [ebx + 0x73], cl
movzx ecx, byte [ebx + 0x72]
mov cx, word [ecx*2 + 0x4eddcdd8]
mov word [ebx + 0x1c], cx
jmp 0x4ec7b3af