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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6399c8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x6e9060]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x130], eax
mov dword [edi + 0x12c], ecx
mov esi, dword [edi + 0x144]
add edi, 0x134
cmp dword [edi + 0xc], esi
jbe 0x49368d
call 0x578dd3
mov ebx, dword [edi + 0xc]
mov edx, dword [edi]
mov dword [esp + 0x20], edx
cmp ebx, dword [edi + 0x10]
jbe 0x4936a0
call 0x578dd3
mov ecx, dword [esp + 0x20]
mov eax, dword [edi]
push esi
push ecx
push ebx
push eax
lea ebx, [esp + 0x38]
mov esi, edi
call fcn.004a32e9
mov esi, dword [ebp + 8]
mov edx, dword [esi + 0x12c]
mov ecx, dword [esi + 0x54]
mov eax, dword [esi + 0x130]
mov dword [esp + 0x1c], edx
mov edx, dword [ecx]
mov dword [esp + 0x50], eax
mov eax, dword [edx]
mov dword [esp + 0x18], ecx
call eax
lea ecx, [esp + 0x5c]
push ecx
mov dword [esp + 0x18], eax
call fcn.004b3849
xor ebx, ebx
mov dword [esp + 0x80], 0
mov dword [esp + 0x10], ebx
cmp dword [esi + 0x18c], ebx
je 0x49389d
cmp dword [esp + 0x14], ebx
jle 0x4937c8
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x54]
mov eax, dword [ecx]
mov edx, dword [eax + 0x2c]
push ebx
call edx
test eax, eax
je 0x493766
mov ecx, dword [edi + 0xc]
test ecx, ecx
jne 0x49372b
xor eax, eax
jmp 0x493733
mov eax, dword [edi + 0x14]
sub eax, ecx
sar eax, 2
mov esi, dword [edi + 0x10]
mov edx, esi
sub edx, ecx
sar edx, 2
cmp edx, eax
jae 0x49374b
mov dword [esi], ebx
add esi, 4
mov dword [edi + 0x10], esi
jmp 0x4937b9
cmp ecx, esi
jbe 0x493754
call 0x578dd3
mov eax, dword [edi]
push esi
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
push ecx
mov eax, edi
jmp 0x4937b4
mov edx, dword [esp + 0x68]
test edx, edx
jne 0x493772
xor ecx, ecx
jmp 0x49377b
mov ecx, dword [esp + 0x70]
sub ecx, edx
sar ecx, 2
mov eax, dword [esp + 0x6c]
mov esi, eax
sub esi, edx
sar esi, 2
cmp esi, ecx
jae 0x493795
mov dword [eax], ebx
add eax, 4
mov dword [esp + 0x6c], eax
jmp 0x4937b9
mov esi, eax
cmp edx, eax
jbe 0x4937a0
call 0x578dd3
mov eax, dword [esp + 0x5c]
push esi
push eax
lea edx, [esp + 0x18]
lea eax, [esp + 0x28]
push edx
push eax
lea eax, [esp + 0x6c]
call fcn.004b3949
inc ebx
cmp ebx, dword [esp + 0x14]
mov dword [esp + 0x10], ebx
jl 0x49370e
mov ebx, dword [edi + 0x10]
cmp dword [edi + 0xc], ebx
jbe 0x4937d5
call 0x578dd3
mov esi, dword [edi + 0xc]
mov eax, dword [edi]
mov dword [esp + 0x20], eax
cmp esi, dword [edi + 0x10]
jbe 0x4937ec
call 0x578dd3
mov eax, dword [esp + 0x20]
mov ecx, dword [edi]
test eax, eax
je 0x4937f6
cmp eax, ecx
je 0x4937fb
call 0x578dd3
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x18]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
or byte [ebx - 0x76d7dbb4], cl
push eax
add al, 0x8b
shr dword [ebx], cl
salc
cmp dword [esp + 0x14], ebx
jle 0x493ab2
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x54]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
test eax, eax
je 0x493a50
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0x68]
mov ecx, eax
sub ecx, esi
test ecx, 0xfffffffc
je 0x493a0a
mov ebx, eax
cmp esi, eax
jbe 0x4938e8
call 0x578dd3
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0x68]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x28], ecx
cmp esi, eax
jbe 0x4938fd
call 0x578dd3
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x493907
cmp ecx, dword [esp + 0x5c]
je 0x49390c
call 0x578dd3
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x18]
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov eax, ebx
sub eax, esi
sar eax, 2
push eax
push ebx
push esi
call fcn.00499129
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
mov eax, edx
sub eax, ecx
sar eax, 2
add esp, 0x18
xor ebx, ebx
test eax, eax
jbe 0x4939c9
cmp ebx, eax
jb 0x49395f
call 0x578dd3
mov ecx, dword [esp + 0x68]
mov eax, dword [edi + 0xc]
lea ecx, [ecx + ebx*4]
mov dword [esp + 0x20], ecx
test eax, eax
jne 0x493971
xor ecx, ecx
jmp 0x493979
mov ecx, dword [edi + 0x14]
sub ecx, eax
sar ecx, 2
mov esi, dword [edi + 0x10]
mov edx, esi
sub edx, eax
sar edx, 2
cmp edx, ecx
jae 0x493997
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov dword [esi], ecx
add esi, 4
mov dword [edi + 0x10], esi
jmp 0x4939b5
cmp eax, esi
jbe 0x4939a0
call 0x578dd3
mov eax, dword [edi]
mov edx, dword [esp + 0x20]
push esi
push eax
push edx
lea eax, [esp + 0x3c]
push eax
mov eax, edi
call fcn.004b3949
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov eax, edx
sub eax, ecx
inc ebx
sar eax, 2
cmp ebx, eax
jb 0x49395f
mov dword [esp + 0x20], edx
cmp ecx, edx
jbe 0x4939de
call 0x578dd3
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov esi, dword [esp + 0x5c]
mov ebx, ecx
cmp ecx, edx
jbe 0x4939ed
call 0x578dd3
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x5c]
push ecx
push esi
push ebx
push edx
lea ebx, [esp + 0x48]
lea esi, [esp + 0x6c]
call fcn.004a32e9
mov ebx, dword [esp + 0x10]
mov ecx, dword [edi + 0xc]
test ecx, ecx
jne 0x493a15
xor eax, eax
jmp 0x493a1d
mov eax, dword [edi + 0x14]
sub eax, ecx
sar eax, 2
mov esi, dword [edi + 0x10]
mov edx, esi
sub edx, ecx
sar edx, 2
cmp edx, eax
jae 0x493a35
mov dword [esi], ebx
add esi, 4
mov dword [edi + 0x10], esi
jmp 0x493aa3
cmp ecx, esi
jbe 0x493a3e
call 0x578dd3
mov eax, dword [edi]
push esi
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x4c]
push ecx
mov eax, edi
jmp 0x493a9e
mov edx, dword [esp + 0x68]
test edx, edx
jne 0x493a5c
xor ecx, ecx
jmp 0x493a65
mov ecx, dword [esp + 0x70]
sub ecx, edx
sar ecx, 2
mov eax, dword [esp + 0x6c]
mov esi, eax
sub esi, edx
sar esi, 2
cmp esi, ecx
jae 0x493a7f
mov dword [eax], ebx
add eax, 4
mov dword [esp + 0x6c], eax
jmp 0x493aa3
mov esi, eax
cmp edx, eax
jbe 0x493a8a
call 0x578dd3
mov eax, dword [esp + 0x5c]
push esi
push eax
lea edx, [esp + 0x18]
lea eax, [esp + 0x50]
push edx
push eax
lea eax, [esp + 0x6c]
call fcn.004b3949
inc ebx
cmp ebx, dword [esp + 0x14]
mov dword [esp + 0x10], ebx
jl 0x4938a7