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

Disassembly:
push 0xffffffffffffffff
push 0x525e47
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x198
push ebx
push edi
mov edi, ecx
lea ecx, [esp + 0x40]
call fcn.004b7640
mov eax, dword [edi + 4]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x1a8], ebx
lea ecx, [esp + 0x40]
jne 0x479533
mov dword [esp + 0x1a8], 0xffffffff
call fcn.004b7660
xor eax, eax
jmp 0x479994
mov eax, dword [esp + 0x1b0]
push 6
push eax
call fcn.004b7710
cmp dword [esp + 0x44], ebx
jne 0x479563
lea ecx, [esp + 0x40]
mov dword [esp + 0x1a8], 0xffffffff
call fcn.004b7660
xor eax, eax
jmp 0x479994
mov ecx, dword [edi + 4]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov eax, dword [ecx + 4]
mov edx, dword [eax + 4]
mov dword [esp + 0x28], edx
mov eax, dword [ecx + 4]
mov eax, dword [eax + 8]
cdq
push ebp
xor eax, edx
sub eax, edx
mov dword [esp + 0x30], eax
mov ecx, dword [ecx + 4]
movzx ebp, word [ecx + 0xe]
push ebx
push ebx
lea eax, [esp + 0x4c]
push eax
push 0x5568cc
mov dword [esp + 0x24], ebp
call fcn.004c4e10
add esp, 0x10
cmp eax, ebx
mov dword [esp + 0xc], eax
je 0x4795e7
push 0x478150
push 0x478130
lea ecx, [esp + 0x4c]
push ecx
push eax
call fcn.004c6350
mov edx, dword [esp + 0x1c]
push edx
call fcn.004c3c80
add esp, 0x14
cmp eax, ebx
mov dword [esp + 0x18], eax
jne 0x479602
lea eax, [esp + 0xc]
push ebx
push eax
call fcn.004c4d70
add esp, 8
lea ecx, [esp + 0x44]
mov dword [esp + 0x1ac], 0xffffffff
call fcn.004b7660
xor eax, eax
jmp 0x479993
lea eax, [ebp - 1]
cmp eax, 0x1f
mov dword [esp + 0x20], 8
ja case.0x479619.2
movzx ecx, byte [eax + 0x4799bc]
jmp dword [ecx*4 + 0x4799b0]
mov edx, dword [esp + 0xc]
push edx
mov dword [esp + 0x18], 0x20
mov dword [esp + 0x20], 6
call fcn.004bef40
mov ebp, dword [esp + 0x18]
add esp, 4
jmp case.0x479619.2
mov dword [esp + 0x1c], 3
mov dword [esp + 0x20], ebp
push esi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
cmp dword [esp + 0x20], 3
mov byte [esp + 0x1b0], 2
jne 0x4797ab
mov eax, dword [edi + 4]
mov ebp, dword [eax + 0x10]
push ebp
lea ecx, [esp + 0x9c]
call fcn.004794b0
mov ecx, dword [edi + 4]
mov byte [esp + 0x1b0], 3
call fcn.004781d0
push ebp
lea ecx, [esp + 0x3c]
mov esi, eax
call fcn.00479490
xor eax, eax
cmp ebp, ebx
jle 0x4796ee
mov ecx, dword [esp + 0x3c]
mov dl, byte [esi + 2]
mov byte [esp + 0x14], dl
mov dl, byte [esi + 1]
mov byte [esp + 0x15], dl
mov dl, byte [esi]
mov bx, word [esp + 0x14]
mov byte [esp + 0x16], dl
mov edx, ecx
mov word [edx], bx
mov bl, byte [esp + 0x16]
mov byte [edx + 2], bl
mov dl, byte [esi + 3]
add esi, 4
mov byte [esp + eax + 0xa8], dl
inc eax
add ecx, 3
cmp eax, ebp
jl 0x4796b4
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push ebp
push ebx
push eax
push ecx
call fcn.004c59d0
mov eax, dword [edi + 8]
add esp, 0x10
test eax, eax
jne 0x47976c
xor esi, esi
test ebp, ebp
jle 0x47976c
mov edx, ebx
mov ax, word [edx]
mov word [esp + 0x14], ax
mov al, byte [edx + 2]
mov dl, byte [edi + 0xe]
mov cl, byte [esp + 0x14]
cmp cl, dl
mov dl, byte [esp + 0x15]
jne 0x479743
cmp dl, byte [edi + 0xd]
jne 0x479743
cmp al, byte [edi + 0xc]
jne 0x479743
mov byte [esp + esi + 0xa8], 0
jmp 0x479764
cmp cl, byte [edi + 0x12]
jne 0x47975c
cmp dl, byte [edi + 0x11]
jne 0x47975c
cmp al, byte [edi + 0x10]
jne 0x47975c
mov byte [esp + esi + 0xa8], 0x80
jmp 0x479764
mov byte [esp + esi + 0xa8], 0xff
inc esi
add ebx, 3
cmp esi, ebp
jl 0x479713
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
push 0
push ebp
lea ecx, [esp + 0xb0]
push ecx
push edx
push eax
call fcn.004c5f00
mov eax, dword [esp + 0xb0]
add esp, 0x14
test eax, eax
mov byte [esp + 0x1b0], 2
je 0x4797a5
push eax
call fcn.004fb3dc
add esp, 4
mov ebp, dword [esp + 0x18]
xor ebx, ebx
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x34]
push ebx
push ebx
push ebx
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
sub eax, ecx
mov ecx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x28]
sub ecx, edx
mov edx, dword [esp + 0x34]
push ecx
push edx
push eax
call fcn.004c5530
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x34]
push ecx
push edx
call fcn.004c3e90
mov eax, dword [esp + 0x3c]
push ebx
push ebx
push eax
call fcn.004c4730
mov ecx, dword [esp + 0x48]
push 9
push ecx
call fcn.004c4bb0
add esp, 0x40
lea ecx, [esp + 0x7c]
call fcn.004bcfc0
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
push ebp
mov esi, 1
push esi
sub edx, eax
push edx
lea ecx, [esp + 0x88]
mov byte [esp + 0x1bc], 4
call fcn.004becd0
cmp dword [edi + 8], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
jne 0x47986e
cmp ebp, 0x20
jne 0x47986e
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 0x14]
xor eax, ecx
test eax, 0xffffff
je 0x47985b
mov dword [esp + 0x24], esi
mov ecx, dword [edi + 0x10]
mov eax, dword [edi + 0x18]
xor eax, ecx
test eax, 0xffffff
je 0x47986e
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
lea ebx, [ebx]
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x84]
lea ecx, [esp + 0x28]
push ecx
push edx
push 0
inc eax
push 0
lea ecx, [esp + 0x8c]
mov dword [esp + 0x44], eax
call fcn.004bedc0
mov eax, dword [edi + 8]
test eax, eax
jne 0x479910
cmp ebp, 0x20
jne 0x479910
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
xor esi, esi
test eax, eax
jle 0x479910
lea ecx, [ebx + 3]
mov edx, dword [ecx - 3]
mov eax, dword [edi + 0xc]
xor eax, edx
test eax, 0xffffff
jne 0x4798e2
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4798fe
mov byte [ecx], 0
jmp 0x4798fe
mov eax, dword [edi + 0x10]
xor eax, edx
test eax, 0xffffff
jne 0x4798fb
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4798fe
mov byte [ecx], 0x80
jmp 0x4798fe
mov byte [ecx], 0xff
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
inc esi
sub edx, eax
add ecx, 4
cmp esi, edx
jl 0x4798c6
mov eax, dword [esp + 0x10]
push ebx
push eax
call fcn.004c42f0
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
add esp, 8
inc ecx
dec eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x18], eax
jne 0x479880
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
push ecx
push edx
call fcn.004c4180
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.004c4d70
add esp, 0x10
lea ecx, [esp + 0x7c]
mov byte [esp + 0x1b0], 2
call fcn.004bcfe0
mov eax, dword [esp + 0x3c]
test eax, eax
pop esi
je 0x47997a
push eax
call fcn.004fb3dc
add esp, 4
lea ecx, [esp + 0x44]
mov dword [esp + 0x1ac], 0xffffffff
call fcn.004b7660
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x1a0]
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1a4
ret 4