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

Disassembly:
push 0xffffffffffffffff
push 0x4f242c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x288
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov ebp, ecx
push ebx
call fcn.0047f540
push 0x14
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], 0x27
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], 1
call fcn.004dcb8f
add esp, 4
cmp eax, ebx
je 0x47f735
mov ecx, dword [0x50a0e0]
mov dword [eax + 0x10], ecx
mov dword [eax], ebx
mov dword [eax + 0xc], 7
mov dword [eax + 8], 4
mov dword [eax + 4], 3
jmp 0x47f737
xor eax, eax
mov dword [eax], 1
mov dword [eax + 4], 2
mov dword [esp + 0x60], eax
lea edx, [esp + 0x90]
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x90]
push 0x104
push edx
push 0x9cd5
rep stosd dword es:[edi], eax
call fcn.00432d40
mov edx, dword [ebp + 0x84]
mov edi, dword [0x4f94a0]
add esp, 0xc
lea ecx, [esp + 0x34]
lea eax, [esp + 0x90]
push ecx
push ebx
push 0x1132
push edx
mov dword [esp + 0x5c], eax
call edi
mov dword [esp + 0x68], eax
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x2a0], ebx
mov dword [esp + 0x70], ebx
push str.files
lea ecx, [esp + 0x84]
mov word [esp + 0x84], bx
call fcn.004067a0
mov esi, dword [esp + 0x2a8]
lea eax, [esp + 0x70]
lea ecx, [esp + 0x80]
push eax
push ecx
push str.selectNodes
lea ecx, [esi + 4]
mov byte [esp + 0x2ac], 2
call fcn.00407e00
lea edx, [esp + 0x80]
mov dword [esi], eax
push edx
mov byte [esp + 0x2a4], 1
call dword [0x4f936c]
cmp dword [esi], ebx
jl 0x47f81d
mov eax, dword [esp + 0x70]
cmp eax, ebx
je 0x47f81d
push eax
lea ecx, [esp + 0x80]
call fcn.00407de0
lea ecx, [esp + 0x70]
mov byte [esp + 0x2a0], 0
call fcn.004282a0
push 0x14
call fcn.004dcb8f
add esp, 4
cmp eax, ebx
je 0x47f860
mov ecx, dword [0x50a0e0]
mov esi, eax
mov dword [eax + 0x10], ecx
mov dword [eax], ebx
mov dword [eax + 0xc], 7
mov dword [eax + 8], 4
mov dword [eax + 4], 3
jmp 0x47f862
xor esi, esi
mov edx, dword [esp + 0x68]
lea eax, [esp + 0x90]
push 0x104
push eax
mov dword [esi], ebx
mov dword [esi + 4], 2
mov dword [esi + 8], 5
mov dword [esi + 0xc], 7
push 0x9ce4
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], 0xffff0002
call fcn.00432d40
mov eax, dword [ebp + 0x84]
add esp, 0xc
lea edx, [esp + 0x34]
lea ecx, [esp + 0x90]
push edx
push ebx
push 0x1132
push eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x70], esi
call edi
push 0x14
mov dword [esp + 0x78], eax
call fcn.004dcb8f
add esp, 4
cmp eax, ebx
je 0x47f8fc
mov ecx, dword [0x50a0e0]
mov esi, eax
mov dword [eax + 0x10], ecx
mov dword [eax], ebx
mov dword [eax + 0xc], 7
mov dword [eax + 8], 4
mov dword [eax + 4], 3
jmp 0x47f8fe
xor esi, esi
lea edx, [esp + 0x90]
push 0x104
mov eax, 2
push edx
push 0x9ce5
mov dword [esi], ebx
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], 7
call fcn.00432d40
mov ecx, dword [esp + 0x74]
add esp, 0xc
lea eax, [esp + 0x90]
lea edx, [esp + 0x34]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x84]
push edx
push ebx
push 0x1132
push eax
mov dword [esp + 0x70], esi
mov dword [esp + 0x44], ecx
call edi
push 0x14
mov dword [esp + 0x34], eax
call fcn.004dcb8f
add esp, 4
cmp eax, ebx
je 0x47f98d
mov ecx, dword [0x50a0e0]
mov esi, eax
mov dword [eax + 0x10], ecx
mov dword [eax], ebx
mov dword [eax + 0xc], 7
mov dword [eax + 8], 4
mov dword [eax + 4], 3
jmp 0x47f98f
xor esi, esi
lea edx, [esp + 0x90]
push 0x104
mov eax, 2
push edx
push 0x9ce6
mov dword [esi], ebx
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], 4
call fcn.00432d40
mov eax, dword [esp + 0x3c]
add esp, 0xc
lea edx, [esp + 0x34]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x84]
push edx
push ebx
lea ecx, [esp + 0x98]
push 0x1132
push eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x70], esi
call edi
mov cl, byte [esp + 0x6f]
mov dword [esp + 0x24], eax
mov byte [esp + 0x14], cl
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov edx, dword [esp + 0x2a8]
push 1
push 2
lea eax, [esp + 0x1c]
push edx
push eax
mov ecx, ebp
mov byte [esp + 0x2b0], 3
call fcn.00480a70
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x10], ebx
cmp eax, ebx
jne 0x47fb98
jmp 0x47fa39
mov edi, dword [0x4f94a0]
xor ebx, ebx
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x47fb98
mov ecx, dword [esp + 0x1c]
sub ecx, eax
mov eax, dword [esp + 0x10]
sar ecx, 2
cmp eax, ecx
jae 0x47fb98
push 0x14
call fcn.004dcb8f
add esp, 4
cmp eax, ebx
je 0x47fa8c
mov edx, dword [0x50a0e0]
mov esi, eax
mov dword [eax + 0x10], edx
mov dword [eax], ebx
mov dword [eax + 0xc], 7
mov dword [eax + 8], 4
mov dword [eax + 4], 3
jmp 0x47fa8e
xor esi, esi
mov eax, 2
mov dword [esi], ebx
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0xc], 1
mov ecx, dword [esp + 0x18]
lea edi, [esi + 0x10]
lea eax, [ecx + eax*4]
mov ecx, dword [edi]
mov dword [esp + 0x28], eax
mov eax, dword [eax]
cmp ecx, eax
je 0x47fafa
cmp dword [ecx - 0xc], ebx
jge 0x47face
mov edx, dword [0x50a0e4]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x47fad3
cmp dword [eax - 0xc], ebx
jge 0x47fae1
mov edx, dword [eax - 8]
push eax
push edx
mov ecx, edi
call fcn.00402200
jmp 0x47fafa
mov ecx, edi
call fcn.004020f0
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
mov dword [edi], eax
add eax, 0xfffffff4
push eax
call dword [0x4f9310]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + edi*4]
mov eax, dword [edx - 8]
lea eax, [eax + eax + 2]
push eax
call fcn.004dcb8f
mov ecx, dword [esp + 0x1c]
mov ebx, eax
add esp, 4
mov edx, dword [ecx + edi*4]
mov eax, dword [edx - 8]
lea ecx, [eax + 1]
test ecx, ecx
jbe 0x47fb39
xor eax, eax
mov edi, ebx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + edi*4]
push eax
push ebx
call fcn.004dd8bf
mov eax, dword [ebp + 0x84]
mov ecx, dword [esp + 0x2c]
add esp, 8
lea edx, [esp + 0x34]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x34], ecx
push edx
push 0
push 0x1132
push eax
mov dword [esp + 0x70], esi
call dword [0x4f94a0]
test ebx, ebx
je 0x47fb80
push ebx
call fcn.004dcaa6
add esp, 4
mov eax, dword [ebp + 0x24]
inc edi
test eax, eax
mov dword [esp + 0x10], edi
je 0x47fa31
mov edi, dword [0x4f94a0]
xor ebx, ebx
push 0x14
call fcn.004dcb8f
add esp, 4
cmp eax, ebx
je 0x47fbca
mov ecx, dword [0x50a0e0]
mov esi, eax
mov dword [eax + 0x10], ecx
mov dword [eax], ebx
mov dword [eax + 0xc], 7
mov dword [eax + 8], 4
mov dword [eax + 4], 3
jmp 0x47fbcc
xor esi, esi
lea edx, [esp + 0x90]
push 0x104
mov eax, 2
push edx
push 0x9ce7
mov dword [esi], ebx
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], 5
call fcn.00432d40
mov eax, dword [esp + 0x3c]
add esp, 0xc
lea edx, [esp + 0x34]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x84]
push edx
push ebx
lea ecx, [esp + 0x98]
push 0x1132
push eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x70], esi
call edi
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], eax
call fcn.0048a540
mov eax, dword [esp + 0x2a8]
push 2
push 2
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, ebp
call fcn.00480a70
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x10], ebx
cmp eax, ebx
jne 0x47fdba
jmp 0x47fc69
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x47fdba
mov edx, dword [esp + 0x1c]
sub edx, eax
sar edx, 2
cmp ebx, edx
jae 0x47fdba
push 0x14
call fcn.004dcb8f
add esp, 4
test eax, eax
je 0x47fcbc
mov ecx, dword [0x50a0e0]
mov esi, eax
mov dword [eax + 0x10], ecx
mov dword [eax], 0
mov dword [eax + 0xc], 7
mov dword [eax + 8], 4
mov dword [eax + 4], 3
jmp 0x47fcbe
xor esi, esi
mov eax, 2
mov dword [esi], 0
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov edx, dword [esp + 0x18]
mov ecx, dword [esi + 0x10]
lea edi, [esi + 0x10]
mov eax, dword [edx + ebx*4]
lea ebx, [edx + ebx*4]
cmp ecx, eax
je 0x47fd24
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x47fcfa
mov edx, dword [0x50a0e4]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x47fd01
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x47fd0f
push eax
mov eax, dword [eax - 8]
push eax
mov ecx, edi
call fcn.00402200
jmp 0x47fd24
mov ecx, edi
call fcn.004020f0
mov ebx, dword [ebx]
mov dword [edi], ebx
add ebx, 0xfffffff4
push ebx
call dword [0x4f9310]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + edi*4]
mov eax, dword [edx - 8]
lea eax, [eax + eax + 2]
push eax
call fcn.004dcb8f
mov ecx, dword [esp + 0x1c]
mov ebx, eax
add esp, 4
mov edx, dword [ecx + edi*4]
mov eax, dword [edx - 8]
lea ecx, [eax + 1]
test ecx, ecx
jbe 0x47fd63
xor eax, eax
mov edi, ebx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + edi*4]
push eax
push ebx
call fcn.004dd8bf
mov eax, dword [ebp + 0x84]
mov ecx, dword [esp + 0x2c]
add esp, 8
lea edx, [esp + 0x34]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x34], ecx
push edx
push 0
push 0x1132
push eax
mov dword [esp + 0x70], esi
call dword [0x4f94a0]
test ebx, ebx
je 0x47fdaa
push ebx
call fcn.004dcaa6
add esp, 4
mov eax, dword [ebp + 0x24]
inc edi
test eax, eax
mov dword [esp + 0x10], edi
je 0x47fc65
push 0x14
call fcn.004dcb8f
add esp, 4
test eax, eax
je 0x47fdf0
mov ecx, dword [0x50a0e0]
mov esi, eax
mov dword [eax + 0x10], ecx
mov dword [eax], 0
mov dword [eax + 0xc], 7
mov dword [eax + 8], 4
mov dword [eax + 4], 3
jmp 0x47fdf2
xor esi, esi
lea edx, [esp + 0x90]
push 0x104
mov edi, 2
push edx
push 0x9cec
mov dword [esi], 0
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], 6
call fcn.00432d40
mov eax, dword [esp + 0x3c]
add esp, 0xc
lea edx, [esp + 0x34]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x84]
push edx
push 0
lea ecx, [esp + 0x98]
push 0x1132
push eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x70], esi
call dword [0x4f94a0]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
push ecx
push eax
push eax
call fcn.00473360
mov edx, dword [esp + 0x28]
add esp, 0xc
mov esi, eax
lea ecx, [esp + 0x14]
push edx
push esi
call fcn.0040dd50
mov eax, dword [esp + 0x2a8]
push 3
push edi
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, ebp
mov dword [esp + 0x2c], esi
call fcn.00480a70
mov eax, dword [ebp + 0x24]
xor edi, edi
test eax, eax
mov dword [esp + 0x10], edi
jne 0x480003
jmp 0x47feae
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x480003
mov edx, dword [esp + 0x1c]
sub edx, eax
sar edx, 2
cmp edi, edx
jae 0x480003
push 0x14
call fcn.004dcb8f
add esp, 4
test eax, eax
je 0x47ff01
mov ecx, dword [0x50a0e0]
mov esi, eax
mov dword [eax + 0x10], ecx
mov dword [eax], 0
mov dword [eax + 0xc], 7
mov dword [eax + 8], 4
mov dword [eax + 4], 3
jmp 0x47ff03
xor esi, esi
mov eax, 2
mov dword [esi], 0
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], 3
mov edx, dword [esp + 0x18]
mov ecx, dword [esi + 0x10]
mov eax, dword [edx + edi*4]
lea ebx, [edx + edi*4]
lea edi, [esi + 0x10]
cmp ecx, eax
je 0x47ff6d
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x47ff43
mov edx, dword [0x50a0e4]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x47ff4a
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x47ff58
push eax
mov eax, dword [eax - 8]
push eax
mov ecx, edi
call fcn.00402200
jmp 0x47ff6d
mov ecx, edi
call fcn.004020f0
mov ebx, dword [ebx]
mov dword [edi], ebx
add ebx, 0xfffffff4
push ebx
call dword [0x4f9310]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + edi*4]
mov eax, dword [edx - 8]
lea eax, [eax + eax + 2]
push eax
call fcn.004dcb8f
mov ecx, dword [esp + 0x1c]
mov ebx, eax
add esp, 4
mov edx, dword [ecx + edi*4]
mov eax, dword [edx - 8]
lea ecx, [eax + 1]
test ecx, ecx
jbe 0x47ffac
xor eax, eax
mov edi, ebx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + edi*4]
push eax
push ebx
call fcn.004dd8bf
mov eax, dword [ebp + 0x84]
mov ecx, dword [esp + 0x2c]
add esp, 8
lea edx, [esp + 0x34]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x34], ecx
push edx
push 0
push 0x1132
push eax
mov dword [esp + 0x70], esi
call dword [0x4f94a0]
test ebx, ebx
je 0x47fff3
push ebx
call fcn.004dcaa6
add esp, 4
mov eax, dword [ebp + 0x24]
inc edi
test eax, eax
mov dword [esp + 0x10], edi
je 0x47feaa
push 0x14
call fcn.004dcb8f
add esp, 4
test eax, eax
je 0x48003a
mov ecx, dword [0x50a0e0]
mov ebx, 7
mov dword [eax + 0x10], ecx
mov dword [eax], 0
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 4
mov dword [eax + 4], 3
mov esi, eax
jmp 0x480041
xor esi, esi
mov ebx, 7
lea edx, [esp + 0x90]
push 0x104
push edx
push 0x9cea
mov dword [esi], 0
mov dword [esi + 4], 2
mov dword [esi + 8], 1
mov dword [esi + 0xc], ebx
call fcn.00432d40
mov ecx, dword [esp + 0x74]
mov edi, dword [0x4f94a0]
add esp, 0xc
lea eax, [esp + 0x90]
lea edx, [esp + 0x34]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x84]
push edx
push 0
push 0x1132
push eax
mov dword [esp + 0x70], esi
mov dword [esp + 0x44], ecx
call edi
push 0x14
mov dword [esp + 0x34], eax
call fcn.004dcb8f
add esp, 4
test eax, eax
je 0x4800da
mov ecx, dword [0x50a0e0]
mov esi, eax
mov dword [eax + 0x10], ecx
mov dword [eax], 0
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 4
mov dword [eax + 4], 3
jmp 0x4800dc
xor esi, esi
lea edx, [esp + 0x90]
push 0x104
push edx
push 0x9ce6
mov dword [esi], 0
mov dword [esi + 4], 2
mov dword [esi + 8], 1
mov dword [esi + 0xc], 4
call fcn.00432d40
mov eax, dword [esp + 0x3c]
add esp, 0xc
lea edx, [esp + 0x34]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x84]
push edx
push 0
lea ecx, [esp + 0x98]
push 0x1132
push eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x70], esi
call edi
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x1c]
push ecx
push eax
push eax
call fcn.00473360
mov edx, dword [esp + 0x28]
add esp, 0xc
mov esi, eax
lea ecx, [esp + 0x14]
push edx
push esi
call fcn.0040dd50
mov eax, dword [esp + 0x2a8]
push 1
push 1
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, ebp
mov dword [esp + 0x2c], esi
call fcn.00480a70
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x10], 0
test eax, eax
jne 0x48032d
mov eax, dword [esp + 0x18]
test eax, eax
je 0x48032d
mov edx, dword [esp + 0x1c]
sub edx, eax
mov eax, dword [esp + 0x10]
sar edx, 2
cmp eax, edx
jae 0x48032d
push 0x14
call fcn.004dcb8f
add esp, 4
test eax, eax
je 0x4801eb
mov ecx, dword [0x50a0e0]
mov ebx, eax
mov dword [eax + 0x10], ecx
mov dword [eax], 0
mov dword [eax + 0xc], 7
mov dword [eax + 8], 4
mov dword [eax + 4], 3
jmp 0x4801ed
xor ebx, ebx
mov edi, dword [esp + 0x10]
mov eax, 1
mov dword [ebx], 0
mov dword [ebx + 4], 2
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x10]
mov esi, dword [edx + edi*4]
lea ecx, [edx + edi*4]
cmp eax, esi
mov dword [esp + 0x24], ecx
je 0x48029b
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x480232
mov ecx, dword [0x50a0e4]
add eax, 0xfffffff4
cmp eax, ecx
jne 0x480239
mov eax, dword [esi - 0xc]
test eax, eax
jge 0x48027f
mov eax, dword [esi - 8]
lea ecx, [ebx + 0x10]
push eax
mov dword [esp + 0x2c], eax
call fcn.00402130
test eax, eax
je 0x48029b
mov eax, dword [esp + 0x28]
mov edi, dword [ebx + 0x10]
add eax, eax
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x28]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x10]
mov edi, dword [esp + 0x10]
mov dword [ecx - 8], edx
mov ecx, dword [ebx + 0x10]
mov word [ecx + eax], 0
jmp 0x48029b
lea esi, [ebx + 0x10]
mov ecx, esi
call fcn.004020f0
mov edx, dword [esp + 0x24]
mov eax, dword [edx]
mov dword [esi], eax
add eax, 0xfffffff4
push eax
call dword [0x4f9310]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + edi*4]
mov eax, dword [ecx - 8]
lea edx, [eax + eax + 2]
push edx
call fcn.004dcb8f
mov esi, eax
mov eax, dword [esp + 0x1c]
add esp, 4
mov ecx, dword [eax + edi*4]
mov eax, dword [ecx - 8]
lea ecx, [eax + 1]
test ecx, ecx
jbe 0x4802d6
xor eax, eax
mov edi, esi
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov eax, dword [edx + edi*4]
push eax
push esi
call fcn.004dd8bf
mov edx, dword [ebp + 0x84]
mov eax, dword [esp + 0x34]
add esp, 8
lea ecx, [esp + 0x34]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x34], eax
push ecx
push 0
push 0x1132
push edx
mov dword [esp + 0x70], ebx
call dword [0x4f94a0]
test esi, esi
je 0x48031d
push esi
call fcn.004dcaa6
add esp, 4
mov eax, dword [ebp + 0x24]
inc edi
test eax, eax
mov dword [esp + 0x10], edi
je 0x480194
push 0x14
call fcn.004dcb8f
add esp, 4
test eax, eax
je 0x480363
mov ecx, dword [0x50a0e0]
mov esi, eax
mov dword [eax + 0x10], ecx
mov dword [eax], 0
mov dword [eax + 0xc], 7
mov dword [eax + 8], 4
mov dword [eax + 4], 3
jmp 0x480365
xor esi, esi
lea edx, [esp + 0x90]
push 0x104
push edx
push 0x9ce7
mov dword [esi], 0
mov dword [esi + 4], 2
mov dword [esi + 8], 1
mov dword [esi + 0xc], 5
call fcn.00432d40
mov eax, dword [esp + 0x3c]
add esp, 0xc
lea edx, [esp + 0x34]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x84]
push edx
push 0
lea ecx, [esp + 0x98]
push 0x1132
push eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x70], esi
call dword [0x4f94a0]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
push ecx
push eax
push eax
call fcn.00473360
mov edx, dword [esp + 0x28]
add esp, 0xc
mov esi, eax
lea ecx, [esp + 0x14]
push edx
push esi
call fcn.0040dd50
mov eax, dword [esp + 0x2a8]
push 2
push 1
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, ebp
mov dword [esp + 0x2c], esi
call fcn.00480a70
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x10], 0
test eax, eax
jne 0x4805ba
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4805ba
mov edx, dword [esp + 0x1c]
sub edx, eax
mov eax, dword [esp + 0x10]
sar edx, 2
cmp eax, edx
jae 0x4805ba
push 0x14
call fcn.004dcb8f
add esp, 4
test eax, eax
je 0x480478
mov ecx, dword [0x50a0e0]
mov ebx, eax
mov dword [eax + 0x10], ecx
mov dword [eax], 0
mov dword [eax + 0xc], 7
mov dword [eax + 8], 4
mov dword [eax + 4], 3
jmp 0x48047a
xor ebx, ebx
mov edi, dword [esp + 0x10]
mov eax, 2
mov dword [ebx], 0
mov dword [ebx + 4], eax
mov dword [ebx + 8], 1
mov dword [ebx + 0xc], eax
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x10]
mov esi, dword [edx + edi*4]
lea ecx, [edx + edi*4]
cmp eax, esi
mov dword [esp + 0x2c], ecx
je 0x480528
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x4804bf
mov ecx, dword [0x50a0e4]
add eax, 0xfffffff4
cmp eax, ecx
jne 0x4804c6
mov eax, dword [esi - 0xc]
test eax, eax
jge 0x48050c
mov eax, dword [esi - 8]
lea ecx, [ebx + 0x10]
push eax
mov dword [esp + 0x2c], eax
call fcn.00402130
test eax, eax
je 0x480528
mov eax, dword [esp + 0x28]
mov edi, dword [ebx + 0x10]
add eax, eax
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x28]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x10]
mov edi, dword [esp + 0x10]
mov dword [ecx - 8], edx
mov ecx, dword [ebx + 0x10]
mov word [ecx + eax], 0
jmp 0x480528
lea esi, [ebx + 0x10]
mov ecx, esi
call fcn.004020f0
mov edx, dword [esp + 0x2c]
mov eax, dword [edx]
mov dword [esi], eax
add eax, 0xfffffff4
push eax
call dword [0x4f9310]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + edi*4]
mov eax, dword [ecx - 8]
lea edx, [eax + eax + 2]
push edx
call fcn.004dcb8f
mov esi, eax
mov eax, dword [esp + 0x1c]
add esp, 4
mov ecx, dword [eax + edi*4]
mov eax, dword [ecx - 8]
lea ecx, [eax + 1]
test ecx, ecx
jbe 0x480563
xor eax, eax
mov edi, esi
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov eax, dword [edx + edi*4]
push eax
push esi
call fcn.004dd8bf
mov edx, dword [ebp + 0x84]
mov eax, dword [esp + 0x2c]
add esp, 8
lea ecx, [esp + 0x34]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x34], eax
push ecx
push 0
push 0x1132
push edx
mov dword [esp + 0x70], ebx
call dword [0x4f94a0]
test esi, esi
je 0x4805aa
push esi
call fcn.004dcaa6
add esp, 4
mov eax, dword [ebp + 0x24]
inc edi
test eax, eax
mov dword [esp + 0x10], edi
je 0x480421
push 0x14
call fcn.004dcb8f
add esp, 4
test eax, eax
je 0x4805f0
mov ecx, dword [0x50a0e0]
mov edi, eax
mov dword [eax + 0x10], ecx
mov dword [eax], 0
mov dword [eax + 0xc], 7
mov dword [eax + 8], 4
mov dword [eax + 4], 3
jmp 0x4805f2
xor edi, edi
lea edx, [esp + 0x90]
push 0x104
push edx
push 0x9cec
mov dword [edi], 0
mov dword [edi + 4], 2
mov dword [edi + 8], 1
mov dword [edi + 0xc], 6
call fcn.00432d40
mov eax, dword [esp + 0x3c]
mov ebx, dword [0x4f94a0]
add esp, 0xc
lea edx, [esp + 0x34]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x84]
push edx
push 0
lea ecx, [esp + 0x98]
push 0x1132
push eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x70], edi
call ebx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
push ecx
push eax
lea ecx, [esp + 0x1c]
mov edi, eax
call fcn.0040dd50
mov edx, dword [esp + 0x2a8]
push 3
push 1
lea eax, [esp + 0x1c]
push edx
push eax
mov ecx, ebp
mov dword [esp + 0x2c], edi
call fcn.00480a70
mov eax, dword [ebp + 0x24]
xor edi, edi
test eax, eax
mov dword [esp + 0x10], edi
jne 0x480873
jmp 0x4806a5
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x480873
mov ecx, dword [esp + 0x1c]
sub ecx, eax
sar ecx, 2
cmp edi, ecx
jae 0x480873
push 0x14
call fcn.004dcb8f
add esp, 4
test eax, eax
je 0x4806f8
mov edx, dword [0x50a0e0]
mov ebx, eax
mov dword [eax + 0x10], edx
mov dword [eax], 0
mov dword [eax + 0xc], 7
mov dword [eax + 8], 4
mov dword [eax + 4], 3
jmp 0x4806fa
xor ebx, ebx
mov dword [ebx], 0
mov dword [ebx + 4], 2
mov dword [ebx + 8], 1
mov dword [ebx + 0xc], 3
mov eax, dword [esp + 0x18]
mov esi, dword [eax + edi*4]
lea ecx, [eax + edi*4]
mov eax, dword [ebx + 0x10]
lea edi, [ebx + 0x10]
cmp eax, esi
mov dword [esp + 0x24], ecx
je 0x4807d7
cmp dword [eax - 0xc], 0
lea edx, [eax - 0xc]
mov dword [esp + 0x2c], edx
jge 0x48074d
lea edx, [eax - 0xc]
cmp edx, dword [0x50a0e4]
jne 0x480753
mov edx, dword [esp + 0x2c]
cmp dword [esi - 0xc], 0
jge 0x480797
mov eax, dword [esi - 8]
mov ecx, edi
push eax
mov dword [esp + 0x30], eax
call fcn.00402130
test eax, eax
je 0x4807d7
mov eax, dword [esp + 0x2c]
mov edi, dword [ebx + 0x10]
lea ecx, [eax + eax]
mov dword [esp + 0x2c], ecx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x10]
mov dword [ecx - 8], eax
mov edx, dword [ebx + 0x10]
mov eax, dword [esp + 0x2c]
mov word [edx + eax], 0
jmp 0x4807d7
mov esi, dword [0x50a0e4]
add eax, 0xfffffff4
cmp eax, esi
je 0x4807c9
push edx
call dword [0x4f9320]
test eax, eax
jg 0x4807bd
mov eax, dword [edi]
sub eax, 0xc
push eax
call fcn.004dcaa6
add esp, 4
mov ecx, dword [0x50a0e0]
mov dword [edi], ecx
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx]
mov dword [edi], ecx
add ecx, 0xfffffff4
push ecx
call dword [0x4f9310]
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov eax, dword [edx + edi*4]
mov eax, dword [eax - 8]
lea ecx, [eax + eax + 2]
push ecx
call fcn.004dcb8f
mov edx, dword [esp + 0x1c]
mov esi, eax
add esp, 4
mov eax, dword [edx + edi*4]
mov eax, dword [eax - 8]
lea ecx, [eax + 1]
test ecx, ecx
jbe 0x480816
xor eax, eax
mov edi, esi
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + edi*4]
push eax
push esi
call fcn.004dd8bf
mov ecx, dword [ebp + 0x84]
mov edx, dword [esp + 0x30]
add esp, 8
lea eax, [esp + 0x34]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x34], edx
push eax
push 0
push 0x1132
push ecx
mov dword [esp + 0x70], ebx
call dword [0x4f94a0]
test esi, esi
je 0x48085d
push esi
call fcn.004dcaa6
add esp, 4
mov eax, dword [ebp + 0x24]
mov ebx, dword [0x4f94a0]
inc edi
test eax, eax
mov dword [esp + 0x10], edi
je 0x4806a1
push 0x14
call fcn.004dcb8f
add esp, 4
test eax, eax
je 0x4808a9
mov edx, dword [0x50a0e0]
mov edi, eax
mov dword [eax + 0x10], edx
mov dword [eax], 0
mov dword [eax + 0xc], 7
mov dword [eax + 8], 4
mov dword [eax + 4], 3
jmp 0x4808ab
xor edi, edi
lea eax, [esp + 0x90]
push 0x104
push eax
push 0x9ce9
mov dword [edi], 0
mov dword [edi + 4], 2
mov dword [edi + 8], 3
mov dword [edi + 0xc], 7
call fcn.00432d40
mov eax, dword [ebp + 0x84]
mov esi, dword [esp + 0x74]
add esp, 0xc
lea edx, [esp + 0x34]
lea ecx, [esp + 0x90]
mov dword [esp + 0x60], edi
push edx
push 0
push 0x1132
push eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x44], esi
call ebx
mov eax, dword [0x522324]
test eax, eax
je 0x4809ae
push 0x14
call fcn.004dcb8f
add esp, 4
test eax, eax
je 0x48094f
mov ecx, dword [0x50a0e0]
mov edi, eax
mov dword [eax + 0x10], ecx
mov dword [eax], 0
mov dword [eax + 0xc], 7
mov dword [eax + 8], 4
mov dword [eax + 4], 3
jmp 0x480951
xor edi, edi
lea edx, [esp + 0x90]
push 0x104
push edx
push 0x9ceb
mov dword [edi], 0
mov dword [edi + 4], 2
mov dword [edi + 8], 4
mov dword [edi + 0xc], 7
call fcn.00432d40
mov edx, dword [ebp + 0x84]
add esp, 0xc
lea ecx, [esp + 0x34]
lea eax, [esp + 0x90]
push ecx
push 0
push 0x1132
push edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x70], edi
mov dword [esp + 0x44], esi
call ebx
mov eax, dword [ebp + 0x84]
push esi
push 2
push 0x1102
push eax
call ebx
mov ecx, dword [esp + 0x74]
mov edx, dword [ebp + 0x84]
push ecx
push 9
push 0x110b
push edx
call ebx
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
cmp edi, eax
mov esi, eax
je 0x480a18
mov eax, dword [edi]
mov edx, dword [0x50a0e4]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x480a0d
add eax, 0xfffffff4
push eax
call dword [0x4f9320]
test eax, eax
jg 0x480a0d
mov eax, dword [edi]
sub eax, 0xc
push eax
call fcn.004dcaa6
add esp, 4
add edi, 4
cmp edi, esi
jne 0x4809e2
mov edi, dword [esp + 0x18]
push edi
call fcn.004dcaa6
mov eax, dword [esp + 0x80]
add esp, 4
xor ecx, ecx
mov dword [esp + 0x2a0], 0xffffffff
pop edi
pop esi
pop ebp
cmp eax, ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
pop ebx
je 0x480a4f
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x288]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x294
ret 4