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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
mov eax, dword [0x100b7000]
xor eax, esp
mov dword [esp + 0xb8], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov dword [esp + 0x68], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x78], edx
mov edx, dword [ecx]
xor ebx, ebx
push edi
xor edi, edi
cmp byte [edx + 3], 0x34
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 0x18]
sete bl
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x48], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
lea esi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4c6d9a
sub eax, esi
inc eax
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c6dae
mov esi, dword [ebp + 0x10]
sub eax, edx
inc eax
mov dword [esp + 0x74], eax
lea esi, [esi*4 - 8]
call fcn.00476cba
test eax, eax
je 0x4c6dd3
xor eax, eax
jmp 0x4c6ddc
push esi
call fcn.00442cea
add esp, 4
mov dword [esp + 0x60], eax
mov dword [esp + 0x40], eax
cmp eax, edi
je 0x4c6e00
push esi
push edi
push eax
call fcn.004ce72a
add esp, 0xc
call fcn.00476cba
test eax, eax
je 0x4c6e0a
mov dword [esp + 0x18], edi
mov edi, 7
jmp 0x4c71fa
push esi
call fcn.00442cea
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, edi
je 0x4c6e00
push esi
push edi
push eax
call fcn.004ce72a
add esp, 0xc
mov dword [esp + 0x24], 3
jmp 0x4c6e3a
mov eax, dword [esp + 0x24]
cmp eax, dword [ebp + 0x10]
jge 0x4c72b7
cmp dword [esp + 0x48], 0
mov ecx, dword [esp + 0x50]
mov esi, dword [ecx + eax*4]
mov dword [esp + 0x70], esi
jne 0x4c6ed7
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c6e5e
sub eax, edx
cmp eax, 8
jbe 0x4c6ed7
push 8
push 0x100b2710
push esi
call fcn.00430b8a
add esp, 0xc
test eax, eax
jne 0x4c6ed7
mov al, byte [esi + 8]
test al, al
js 0x4c6ed7
movsx edx, al
cmp byte [edx + 0x100ad6f8], 0
jne 0x4c6ed7
add esi, 9
push esi
push 0x100ae884
call fcn.0044eb8a
add esp, 8
test eax, eax
jne 0x4c6eb6
mov eax, 7
mov dword [esp + 0xc], eax
jmp 0x4c71e7
push eax
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x74]
lea ecx, [esp + 0x50]
push ecx
push esi
call fcn.0047b7da
add esp, 0x10
mov dword [esp + 0xc], eax
jmp 0x4c71e7
test ebx, ebx
je 0x4c71bd
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x5c]
push eax
mov edx, esi
call fcn.0045070a
add esp, 8
test eax, eax
je 0x4c71bd
mov esi, dword [esp + 0x2c]
mov eax, 0xa
mov ecx, 7
mov dword [esp + 0x80], 0x100b271c
mov dword [esp + 0x84], 9
mov dword [esp + 0x88], 0x100b2728
mov dword [esp + 0x8c], 6
mov dword [esp + 0x90], 0x100b2730
mov dword [esp + 0x94], 8
mov dword [esp + 0x98], 0x100b273c
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], 0x100a88fc
mov dword [esp + 0xa4], 5
mov dword [esp + 0xa8], 0x100b2748
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], 0x100b2750
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], 0x100b275c
mov dword [esp + 0xbc], eax
test esi, esi
jne 0x4c6fb6
mov dword [esp + 0xc], ecx
jmp 0x4c71e7
xor edi, edi
lea ebx, [esp + 0x84]
mov eax, dword [ebx]
cmp dword [esp + 0x58], eax
jne 0x4c6fdd
mov ecx, dword [ebx - 4]
mov edx, dword [esp + 0x70]
push eax
push ecx
push edx
call fcn.00430b8a
add esp, 0xc
test eax, eax
je 0x4c6fe6
inc edi
add ebx, 8
cmp edi, 8
jl 0x4c6fbf
cmp edi, 8
jne 0x4c701d
mov eax, dword [esp + 0x70]
push eax
push 0x100b2768
call fcn.0044eb8a
mov ecx, dword [esp + 0x24]
add esp, 8
push esi
mov dword [ecx], eax
mov dword [esp + 0x10], 1
call fcn.004391da
mov ebx, dword [esp + 0x60]
add esp, 4
jmp 0x4c71e7
cmp edi, 7
ja 0x4c71ae
jmp dword [edi*4 + 0x1009ff5c]
push esi
call fcn.004391da
mov ebx, dword [esp + 0x60]
add esp, 4
jmp 0x4c71e7
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c71c2
mov ecx, dword [esp + 0x60]
sub eax, edx
mov edx, dword [esp + 0x4c]
lea eax, [edx + eax + 1]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x10]
mov dword [ecx + eax*4], esi
inc eax
mov dword [esp + 0x10], eax
inc dword [esp + 0x24]
cmp dword [esp + 0xc], 0
je 0x4c6e3a
mov edi, dword [esp + 0xc]
mov ecx, dword [esp + 0x54]
push ecx
call fcn.004391da
mov edx, dword [esp + 0x68]
add esp, 4
push edx
call fcn.004391da
mov eax, dword [esp + 0x40]
add esp, 4
push eax
call fcn.004391da
mov ecx, dword [esp + 0x38]
add esp, 4
push ecx
call fcn.004391da
mov edx, dword [esp + 0x48]
add esp, 4
push edx
call fcn.004391da
mov eax, dword [esp + 0x34]
add esp, 4
push eax
call fcn.004391da
mov ebx, dword [esp + 0x1c]
xor esi, esi
add esp, 4
cmp dword [esp + 0x20], esi
jle 0x4c726d
lea ebx, [ebx]
mov ecx, dword [ebx + esi*4]
push ecx
call fcn.004391da
inc esi
add esp, 4
cmp esi, dword [esp + 0x20]
jl 0x4c725a
mov edx, dword [esp + 0x40]
push edx
call fcn.004391da
add esp, 4
push ebx
call fcn.004391da
add esp, 4
test edi, edi
je 0x4c7882
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4c7858
push eax
call fcn.004aebda
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.00428ac4
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0xc]
xor ebx, ebx
cmp edi, ebx
jne 0x4c71fa
mov esi, dword [esp + 0x44]
cmp esi, ebx
je 0x4c738d
mov edx, dword [esp + 0x3c]
push edx
call fcn.004391da
mov eax, dword [esp + 0x38]
add esp, 4
push eax
call fcn.004391da
add esp, 4
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x34], ebx
cmp dword [esp + 0x10], ebx
jne 0x4c73af
mov ecx, dword [esp + 0x60]
push ecx
call fcn.004391da
add esp, 4
lea edx, [esp + 0x4c]
push edx
mov edx, dword [esp + 0x6c]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x5c]
mov ecx, dword [ecx + 4]
push edx
mov eax, esi
mov dword [esp + 0x50], ebx
call fcn.004b6dba
mov edi, eax
add esp, 0x10
cmp edi, ebx
jne 0x4c71fa
cmp dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x10]
je 0x4c7391
xor esi, esi
test ebx, ebx
jle 0x4c7393
mov edi, dword [esp + 0x40]
mov edx, dword [edi + esi*4]
mov eax, dword [esp + 0x30]
push edx
push eax
call fcn.00430bea
add esp, 8
test eax, eax
je 0x4c736d
inc esi
cmp esi, ebx
jl 0x4c734d
jmp 0x4c7391
mov eax, esi
cmp esi, ebx
jge 0x4c7386
lea esp, [esp]
mov ecx, dword [edi + eax*4 + 4]
mov dword [edi + eax*4], ecx
inc eax
cmp eax, ebx
jl 0x4c737a
dec ebx
mov dword [esp + 0x10], ebx
jmp 0x4c7391
mov ebx, dword [esp + 0x10]
test ebx, ebx
jne 0x4c73af
mov edx, dword [esp + 0x40]
mov dword [edx], 0x100b2748
mov dword [esp + 0x4c], 8
mov dword [esp + 0x10], 1
cmp dword [esp + 0x48], 0
jne 0x4c73f9
push 0x100b27cc
push 0x100ae884
call fcn.0044eb8a
add esp, 8
test eax, eax
jne 0x4c73d3
mov eax, 7
jmp 0x4c73ef
push eax
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x74]
lea ecx, [esp + 0x50]
push ecx
push 0x100b27cc
call fcn.0047b7da
add esp, 0x10
mov edi, eax
test eax, eax
jne 0x4c71fa
mov esi, dword [esp + 0x54]
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x5c]
push eax
mov eax, esi
call fcn.0044690a
mov edi, eax
add esp, 8
mov dword [esp + 0xc], edi
cmp edi, 1
jne 0x4c7435
push esi
push 0x100b27d4
call fcn.0044eb8a
mov ecx, dword [esp + 0x24]
add esp, 8
mov dword [ecx], eax
jmp 0x4c71fa
test edi, edi
jne 0x4c71fa
mov ebx, dword [esp + 0x58]
mov eax, dword [esp + 0x10]
lea edi, [ebx + ebx*2]
add edi, edi
add edi, edi
add eax, 0x38
add edi, edi
lea esi, [edi + eax*4]
add esi, eax
add esi, dword [esp + 0x74]
add esi, dword [esp + 0x28]
add esi, dword [esp + 0x4c]
call fcn.00476cba
test eax, eax
je 0x4c7480
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], 7
jmp 0x4c71f6
push esi
call fcn.00442cea
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4c749e
mov dword [esp + 0xc], 7
jmp 0x4c71f6
mov edx, dword [esp + 0x14]
push esi
push 0
push edx
call fcn.004ce72a
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x1c]
mov dword [ecx + 0xc], eax
lea eax, [ecx + 0x118]
mov dword [ecx + 0x18], edx
mov dword [ecx + 0x104], 0
mov dword [ecx + 0x1c], eax
mov edx, dword [esp + 0x54]
mov dword [ecx + 0x24], edx
mov dword [ecx + 0x100], 0x100000
mov ecx, dword [esp + 0x68]
add esp, 0xc
test ecx, ecx
je 0x4c74fa
cmp dword [esp + 0x78], 0
jne 0x4c74fa
mov edx, 1
jmp 0x4c74fc
xor edx, edx
mov esi, dword [esp + 0x14]
mov byte [esi + 0xe5], cl
mov byte [esi + 0xe4], cl
mov cl, byte [esp + 0x38]
mov byte [esi + 0xe7], cl
mov ecx, dword [esp + 0x30]
mov byte [esi + 0xe6], dl
mov edx, dword [esp + 0x44]
mov dword [esi + 0x2c], ecx
xor ecx, ecx
mov dword [esi + 0x28], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x64]
push edi
lea eax, [eax + edx*4]
push ecx
push eax
mov dword [esi + 0x30], 0xff
mov dword [esi + 0xfc], eax
call fcn.004ce718
xor edx, edx
add esp, 0xc
mov dword [esi + 0xf8], ebx
cmp ebx, edx
jle 0x4c758b
xor ecx, ecx
jmp 0x4c756a
mov eax, dword [esi + 0xfc]
lea eax, [ecx + eax + 4]
add ecx, 0x18
dec ebx
mov word [eax], 0x101
mov dword [eax + 8], edx
mov dword [eax + 4], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
jne 0x4c756a
mov ebx, dword [esp + 0x14]
mov ecx, dword [ebx + 0xfc]
mov eax, dword [esp + 0x50]
lea esi, [edi + ecx]
mov edi, dword [esp + 0x74]
mov dword [ebx + 0x20], esi
add esi, dword [esp + 0x10]
push edi
mov dword [ebx + 0x14], esi
mov ecx, dword [eax + 8]
push ecx
push esi
call fcn.004ce718
mov edx, dword [esp + 0x5c]
add esi, edi
mov edi, dword [esp + 0x34]
add esp, 0xc
mov dword [ebx + 0x10], esi
mov eax, dword [edx + 4]
push edi
push eax
push esi
call fcn.004ce718
xor ebx, ebx
add esp, 0xc
add esi, edi
cmp dword [esp + 0x10], ebx
jle 0x4c7628
mov edx, dword [esp + 0x40]
mov eax, dword [edx + ebx*4]
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], 0
call fcn.0043362a
mov edi, dword [esp + 0x2c]
add esp, 4
push edi
push eax
push esi
call fcn.004ce718
add esp, 0xc
mov ecx, esi
mov byte [edi + esi], 0
call fcn.0042bb0a
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x1c]
mov dword [ecx + ebx*4], esi
inc ebx
lea esi, [edi + esi + 1]
cmp ebx, dword [esp + 0x10]
jl 0x4c75dd
xor esi, esi
mov dword [esp + 0x38], esi
cmp dword [esp + 0x10], esi
jle 0x4c773e
mov edi, edi
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x1c]
mov eax, dword [eax + esi*4]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c764a
sub eax, edx
cmp dword [esp + 0x20], 0
mov ebx, eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], 0
jle 0x4c772f
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov edi, dword [ecx + edx*4]
test edi, edi
je 0x4c771c
mov eax, edi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c768a
sub eax, edx
cmp ebx, eax
jne 0x4c771c
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x1c]
mov ecx, dword [edx + esi*4]
mov eax, ebx
mov esi, edi
test ebx, ebx
jle 0x4c76ce
mov dl, byte [ecx]
dec eax
test dl, dl
je 0x4c76cf
movzx ebx, byte [esi]
movzx edx, dl
mov dl, byte [edx + 0x100a9cd0]
cmp dl, byte [ebx + 0x100a9cd0]
jne 0x4c76cf
inc ecx
inc esi
test eax, eax
jg 0x4c76ad
dec eax
test eax, eax
js 0x4c76eb
movzx eax, byte [esi]
movzx edx, byte [eax + 0x100a9cd0]
movzx eax, byte [ecx]
movzx ecx, byte [eax + 0x100a9cd0]
sub ecx, edx
jne 0x4c7714
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x20]
mov esi, dword [esp + 0x38]
push edi
mov byte [esi + eax], 1
call fcn.004391da
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
add esp, 4
mov dword [ecx + edx*4], 0
jmp 0x4c7718
mov esi, dword [esp + 0x38]
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
cmp eax, dword [esp + 0x20]
jl 0x4c766c
inc esi
mov dword [esp + 0x38], esi
cmp esi, dword [esp + 0x10]
jl 0x4c763a
mov ebx, dword [esp + 0x1c]
xor esi, esi
cmp dword [esp + 0x20], esi
jle 0x4c7787
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 0x20]
jmp 0x4c775a
mov eax, dword [esp + 0x18]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x4c777a
push eax
push 0x100b1724
call fcn.0044eb8a
add esp, 8
mov dword [ebx], eax
mov ecx, 1
inc esi
cmp esi, edi
jl 0x4c775a
mov dword [esp + 0xc], ecx
test ecx, ecx
jne 0x4c77c7
mov edi, dword [esp + 0x3c]
xor ecx, ecx
cmp dword [esp + 0x34], ecx
sete cl
xor edx, edx
test edi, edi
sete dl
cmp edx, ecx
je 0x4c77cb
mov eax, 0x100b2730
test edi, edi
je 0x4c77ad
mov eax, 0x100b273c
push eax
push 0x100b27f8
mov dword [esp + 0x14], 1
call fcn.0044eb8a
add esp, 8
mov dword [ebx], eax
jmp 0x4c77cb
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x14]
lea ebx, [esp + 0xc]
call fcn.00455ffa
mov dword [esi + 0xd8], eax
mov eax, ebx
push eax
mov eax, edi
mov ebx, esi
call fcn.00455f6a
add esp, 4
cmp dword [esp + 0xc], 0
mov dword [esi + 0xdc], eax
jne 0x4c71f6
mov edi, dword [ebp + 8]
test edi, edi
je 0x4c7812
call fcn.004c595a
mov dword [esp + 0xc], eax
cmp dword [esp + 0x5c], 0
jne 0x4c7824
test edi, edi
jne 0x4c7824
mov byte [esi + 0xe5], 2
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0xc]
push ecx
call fcn.004bf19a
mov edx, dword [edi + 0xec]
lea eax, [esp + 0x10]
add esp, 4
sub edx, 0x23
push eax
mov eax, edi
mov dword [edi + 0xe0], edx
call fcn.004b5e6a
add esp, 4
jmp 0x4c71f6
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4c788c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.00428ac4
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
mov ecx, dword [esp + 0xc4]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00428ac4
mov esp, ebp
pop ebp
ret