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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, ecx
mov edx, dword [ebx + 0x394]
lea eax, [ebx + 0x3a0]
mov ecx, dword [eax]
push esi
mov esi, dword [ebp + 8]
mov dword [esi + 0x98], ecx
dec dword [eax]
mov eax, dword [esi + 0x28]
cmp eax, 0xffffffff
push edi
lea edi, [edx + ecx*8]
mov dword [ebp - 0xc], ebx
lea ecx, [ebx + 0xcc]
je 0x4a6773
mov dword [edi], eax
push dword [esi + 0x44]
mov eax, dword [esi + 0x28]
jmp 0x4a677e
mov eax, dword [esi + 0x20]
mov dword [edi], eax
push dword [esi + 0x40]
mov eax, dword [esi + 0x20]
imul eax, eax, 0xc
add eax, dword [ebx + 0x318]
push eax
call fcn.00498f50
mov edx, dword [edi]
movzx eax, ax
mov word [edi + 6], ax
mov ecx, dword [esi]
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x320]
mov edx, dword [eax + edx*4]
cmp edx, dword [eax + ecx*4]
je 0x4a67b4
mov eax, dword [ebp + 8]
or ax, 0x4000
mov word [edi + 6], ax
mov ecx, dword [esi + 0x10]
cmp ecx, 0xffffffff
je 0x4a67d3
mov eax, dword [ebx + 0x320]
mov edx, dword [esi + 0x38]
mov edx, dword [eax + edx*4]
cmp edx, dword [eax + ecx*4]
je 0x4a67d3
or word [edi + 6], 0x8000
mov eax, dword [esi + 0x5c]
cmp eax, dword [esi + 0x6c]
jne 0x4a67e0
or word [edi + 6], 0x10
mov eax, dword [esi + 0x6c]
cmp eax, dword [esi + 0x74]
jne 0x4a67ed
or word [edi + 6], 0x40
mov eax, dword [esi + 0x74]
cmp eax, dword [esi + 0x64]
jne 0x4a67fa
or word [edi + 6], 0x20
mov eax, dword [esi + 0x70]
cmp eax, dword [esi + 0x60]
jne 0x4a6808
or word [edi + 6], 0x80
mov eax, dword [esi + 0x70]
cmp eax, dword [esi + 0x78]
jne 0x4a6816
or word [edi + 6], 0x200
mov eax, dword [esi + 0x78]
cmp eax, dword [esi + 0x68]
jne 0x4a6824
or word [edi + 6], 0x100
mov eax, dword [esi]
mov ecx, dword [ebx + 0x318]
imul eax, eax, 3
add eax, dword [esi + 8]
or edx, 0xffffffff
mov eax, dword [ecx + eax*4]
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x28]
cmp eax, edx
mov dword [ebp - 4], edx
je 0x4a6851
imul eax, eax, 3
add eax, dword [esi + 0x2c]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x20]
cmp eax, 0xffffffff
je 0x4a6875
mov eax, dword [esi + 0x24]
inc eax
xor edx, edx
push 3
pop ecx
div ecx
mov eax, dword [esi + 0x20]
imul eax, eax, 3
add edx, eax
mov eax, dword [ebx + 0x318]
mov edx, dword [eax + edx*4]
mov eax, dword [ebp + 8]
cmp dword [ebp - 4], eax
je 0x4a688f
cmp eax, edx
je 0x4a6889
or word [edi + 6], 0x800
jmp 0x4a688f
or word [edi + 6], 0x400
mov eax, dword [esi + 0x10]
or edx, 0xffffffff
cmp eax, edx
je 0x4a68ff
mov ecx, dword [ebx + 0x318]
imul eax, eax, 3
add eax, dword [esi + 0x18]
mov dword [ebp - 4], edx
mov eax, dword [ecx + eax*4]
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x38]
cmp eax, edx
je 0x4a68d1
mov eax, dword [esi + 0x3c]
inc eax
xor edx, edx
push 3
pop ecx
div ecx
mov eax, dword [esi + 0x38]
mov ecx, dword [ebx + 0x318]
imul eax, eax, 3
add edx, eax
mov edx, dword [ecx + edx*4]
mov eax, dword [esi + 0x30]
cmp eax, 0xffffffff
je 0x4a68e4
imul eax, eax, 3
add eax, dword [esi + 0x34]
mov eax, dword [ecx + eax*4]
jmp 0x4a68e7
mov eax, dword [ebp - 4]
cmp edx, dword [ebp + 8]
je 0x4a68ff
cmp dword [ebp + 8], eax
je 0x4a68f9
or word [edi + 6], 0x2000
jmp 0x4a68ff
or word [edi + 6], 0x1000
cmp dword [esi + 0x10], 0xffffffff
jne 0x4a690c
and word [edi + 4], 0
jmp 0x4a6939
push 1
lea eax, [ebx + 0xcc]
push eax
push dword [esi + 0x60]
lea ecx, [ebp - 0x28]
push dword [esi + 0x28]
call fcn.00497fcc
and word [edi + 4], 0
lea ecx, [ebp - 0x28]
call fcn.0049e375
inc word [edi + 4]
cmp eax, dword [esi + 0x38]
jne 0x4a6928
test word [edi + 6], 0x800
je 0x4a6958
mov eax, dword [esi]
mov ecx, dword [ebx + 0x318]
imul eax, eax, 3
add eax, dword [esi + 8]
mov eax, dword [ecx + eax*4]
mov dword [esi + 0x84], eax
test word [edi + 6], 0x2000
je 0x4a6978
mov eax, dword [esi + 0x10]
mov ecx, dword [ebx + 0x318]
imul eax, eax, 3
add eax, dword [esi + 0x18]
mov eax, dword [ecx + eax*4]
mov dword [esi + 0x90], eax
cmp dword [esi + 0x10], 0xffffffff
movzx eax, word [edi + 6]
jne 0x4a699a
test al, 0x90
jne 0x4a698c
mov eax, dword [esi + 0x6c]
mov dword [esi + 0x7c], eax
mov eax, dword [esi + 0x70]
mov dword [esi + 0x80], eax
jmp 0x4a6a1f
test al, al
js 0x4a69b0
test al, 0x40
je 0x4a69a6
test al, 0x20
jne 0x4a69b0
test al, 0x10
jne 0x4a69b0
mov eax, dword [esi + 0x6c]
mov dword [esi + 0x7c], eax
movzx eax, word [edi + 6]
test al, al
js 0x4a69cd
test ax, 0x200
je 0x4a69c4
test ax, 0x100
jne 0x4a69cd
mov eax, dword [esi + 0x70]
mov dword [esi + 0x80], eax
test byte [edi + 6], 0x80
je 0x4a69dc
mov eax, dword [esi + 0x70]
mov dword [esi + 0x80], eax
movzx eax, word [edi + 6]
test ax, 0x100
jne 0x4a69f3
test al, 0x60
jne 0x4a69f3
mov eax, dword [esi + 0x74]
mov dword [esi + 0x88], eax
movzx eax, word [edi + 6]
test ax, 0x300
jne 0x4a6a06
mov eax, dword [esi + 0x78]
mov dword [esi + 0x8c], eax
test word [edi + 6], 0x100
je 0x4a6a1f
mov eax, dword [esi + 0x78]
cmp dword [esi + 0x80], eax
je 0x4a6a1f
mov dword [esi + 0x8c], eax
mov eax, dword [esi + 0x90]
cmp eax, 0xffffffff
je 0x4a6a3d
movzx ecx, word [esi + 0x96]
push ecx
push eax
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.004a663c
mov eax, dword [esi + 0x88]
cmp eax, 0xffffffff
je 0x4a6a5b
movzx ecx, word [esi + 0x96]
push ecx
push eax
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.004a663c
mov eax, dword [esi + 0x8c]
cmp eax, 0xffffffff
je 0x4a6a79
movzx ecx, word [esi + 0x96]
push ecx
push eax
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.004a663c
mov eax, dword [esi + 0x84]
cmp eax, 0xffffffff
je 0x4a6a97
movzx ecx, word [esi + 0x94]
push ecx
push eax
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.004a663c
mov eax, dword [esi + 0x7c]
cmp eax, 0xffffffff
je 0x4a6ab2
movzx ecx, word [esi + 0x94]
push ecx
push eax
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.004a663c
mov eax, dword [esi + 0x80]
cmp eax, 0xffffffff
je 0x4a6ad0
movzx ecx, word [esi + 0x94]
push ecx
push eax
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.004a663c
test word [edi + 6], 0x8000
je 0x4a6afe
mov ecx, dword [ebx + 0x324]
mov eax, dword [esi + 0x10]
mov edx, dword [ebx + 0x3cc]
mov ebx, dword [ebx + 0x3c4]
mov ax, word [ecx + eax*2]
mov word [ebx + edx*2], ax
mov ebx, dword [ebp - 0xc]
dec dword [ebx + 0x3cc]
test word [edi + 6], 0x4000
je 0x4a6b26
mov ecx, dword [esi]
mov edx, dword [ebx + 0x324]
mov cx, word [edx + ecx*2]
mov edi, dword [ebx + 0x3c4]
lea eax, [ebx + 0x3cc]
mov esi, dword [eax]
mov word [edi + esi*2], cx
dec dword [eax]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 8