Function at 0x481ea0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x543d35
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
mov eax, dword [esp + 0x70]
push ebx
push ebp
push esi
mov eax, dword [eax + 0x188]
push edi
test eax, eax
mov dword [esp + 0x34], eax
jne 0x481ee1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret
mov eax, dword [esp + 0x70]
mov ebp, dword [esp + 0x74]
test eax, eax
jne 0x481f03
mov ecx, dword [ebp + 0xcc]
push ebp
add ecx, 0x1f0
call fcn.004d2970
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0xc8]
test eax, eax
jne 0x481f11
xor edi, edi
jmp 0x481f17
mov edi, dword [ebp + 0xc0]
mov eax, dword [ebp + 0x64]
mov dword [esp + 0x1c], edi
test eax, eax
jne 0x481f26
xor eax, eax
jmp 0x481f29
mov eax, dword [ebp + 0x5c]
mov ebx, dword [esp + 0x78]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x28], 0
mov esi, dword [eax + ebx*4]
mov dword [esp + 0x10], esi
call fcn.00473110
add edi, esi
mov ecx, ebp
push edi
mov dword [esp + 0x6c], 0
mov dword [esp + 0x44], edi
call fcn.004cced0
test al, 2
je 0x48245f
lea ecx, [esp + 0x3c]
mov dword [esp + 0x44], 1
push ecx
push 0
push 0
push ebx
mov ecx, ebp
mov dword [esp + 0x4c], 0
call fcn.004caf40
cmp eax, 1
jne 0x481f9f
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x481f9f
test byte [eax + 0xe], 0x20
jne 0x481f9f
mov dword [esp + 0x44], 0
cmp dword [esp + 0x7c], 1
jne 0x481fb1
push edi
call fcn.004c9ab0
add esp, 4
add esi, eax
mov eax, dword [esp + 0x34]
xor ebx, ebx
mov ebp, esi
cmp eax, ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x78], ebp
mov dword [esp + 0x14], ebx
jle 0x4833b4
jmp 0x481fd1
xor ebx, ebx
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x14]
mov eax, dword [edx + 0x184]
mov edi, dword [eax + ecx*4]
mov dword [esp + 0x24], edi
mov eax, dword [edi + 0x64]
shr eax, 2
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0xc8]
cmp eax, ebx
jne 0x482003
mov dword [esp + 0x20], ebx
jmp 0x48200d
mov edx, dword [edi + 0xc0]
mov dword [esp + 0x20], edx
cmp dword [edi + 0x64], ebx
jne 0x482018
mov dword [esp + 0x10], ebx
jmp 0x48201f
mov eax, dword [edi + 0x5c]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0xc]
and eax, 1
cmp eax, 1
mov dword [esp + 0x48], eax
jne 0x482030
mov ebx, eax
cmp ebx, dword [esp + 0x38]
jge 0x482445
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x4820a5
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x20]
mov eax, dword [ecx + ebx*4]
mov ecx, edi
add eax, esi
inc eax
push eax
call fcn.004cc780
test eax, eax
mov dword [esp + 0x3c], eax
je 0x4820a5
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x4820a5
mov eax, dword [esp + 0x38]
inc ebx
cmp ebx, eax
jge 0x482432
mov edx, dword [esp + 0x10]
lea esi, [edx + ebx*4]
mov eax, dword [esi]
mov ecx, dword [esp + 0x20]
add eax, ecx
mov ecx, edi
push eax
call fcn.004cced0
cmp eax, 1
je 0x482432
mov eax, dword [esp + 0x38]
inc ebx
add esi, 4
cmp ebx, eax
jl 0x48207b
jmp 0x482432
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x482190
mov ecx, dword [esp + 0x1c]
mov dl, byte [ecx + ebp]
lea eax, [ecx + ebp]
xor ecx, ecx
cmp dl, 1
sete cl
test ecx, ecx
mov dword [esp + 0x40], ecx
jne 0x482190
push eax
call fcn.004c9ab0
mov esi, dword [esp + 0x78]
add esp, 4
mov edi, eax
mov ecx, esi
push 0
push edi
push ebp
call fcn.004cada0
mov edx, edi
mov ecx, esi
neg edx
push edx
push ebp
call fcn.004cacc0
mov eax, dword [esp + 0x70]
lea ecx, [esi + 0xb8]
push eax
push edi
push ebp
call fcn.004e81a0
mov eax, dword [esp + 0x84]
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x48211a
xor eax, eax
jmp 0x48211d
mov eax, dword [eax + 8]
shr ecx, 3
dec ecx
test ecx, ecx
jl 0x48219c
lea esi, [ecx*8]
inc ecx
mov dword [esp + 0x7c], ecx
mov ecx, dword [esi + eax + 4]
sub ecx, edi
cmp ecx, ebp
jge 0x482168
mov ecx, dword [esp + 0x84]
push 8
push esi
call fcn.00473b50
mov edx, dword [esp + 0x84]
mov eax, dword [edx + 0x10]
test eax, eax
jne 0x48215c
xor eax, eax
jmp 0x482180
mov eax, dword [esp + 0x84]
mov eax, dword [eax + 8]
jmp 0x482180
mov ecx, dword [esi + eax]
sub ecx, edi
cmp ebp, ecx
jle 0x482173
mov ecx, ebp
mov dword [esi + eax], ecx
mov ecx, dword [esi + eax + 4]
sub ecx, edi
mov dword [esi + eax + 4], ecx
mov ecx, dword [esp + 0x7c]
sub esi, 8
dec ecx
mov dword [esp + 0x7c], ecx
jne 0x482131
jmp 0x48219c
mov eax, dword [esp + 0x44]
test eax, eax
je 0x48243d
mov ecx, dword [esp + 0x24]
lea eax, [ecx + 0x54]
mov ecx, dword [ecx + 0x64]
test ecx, ecx
jne 0x4821ae
xor eax, eax
jmp 0x4821b1
mov eax, dword [eax + 8]
mov eax, dword [eax + ebx*4]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x88], eax
lea esi, [eax + edx]
mov eax, dword [esp + 0x48]
cmp eax, 1
push esi
jne 0x482202
call fcn.004c9ab0
mov ebx, dword [esp + 0x7c]
mov edi, dword [esp + 0x78]
add esp, 4
mov ebp, eax
mov ecx, edi
mov dword [esp + 0x2c], ebp
push ebp
push ebx
call fcn.004cacc0
mov eax, dword [esp + 0x70]
add edi, 0xb8
push eax
push ebp
push esi
push ebx
mov ecx, edi
call fcn.004e8020
jmp 0x482244
mov ecx, dword [esp + 0x28]
call fcn.004cc7a0
mov edi, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov ebp, eax
push ebp
push edi
mov dword [esp + 0x34], ebp
call fcn.004cacc0
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov bl, byte [esi]
push ecx
push ebp
push esi
push edi
lea edi, [edx + 0xb8]
mov ecx, edi
mov byte [esi], 0x21
call fcn.004e8020
mov byte [esi], bl
mov ebx, dword [esp + 0x78]
mov ecx, dword [esp + 0x84]
mov eax, dword [ecx + 0x10]
test eax, eax
jne 0x482256
xor ecx, ecx
jmp 0x482259
mov ecx, dword [ecx + 8]
push ebp
push ebx
shr eax, 2
push eax
push ecx
call fcn.004df780
mov eax, dword [edi + 0x10]
add esp, 0x10
test eax, eax
jne 0x482279
mov dword [esp + 0x1c], 0
jmp 0x482280
mov eax, dword [edi + 8]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x88]
mov edx, 1
add ecx, ebp
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x18], edx
jmp 0x4822a8
mov ebp, dword [esp + 0x74]
mov edx, dword [esp + 0x18]
cmp edx, 1
jne 0x4822b5
add ecx, 0x7c
add ebp, 0x7c
jmp 0x4822e3
cmp edx, 2
jne 0x4822c8
add ecx, 0x90
add ebp, 0x90
jmp 0x4822e3
cmp edx, 3
jne 0x4822db
add ecx, 0xa4
add ebp, 0xa4
jmp 0x4822e3
lea eax, [ebp + 0x54]
add ecx, 0x54
mov ebp, eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x7c], ebp
test eax, eax
jne 0x4822f2
xor ebx, ebx
jmp 0x4822f5
mov ebx, dword [ecx + 8]
shr eax, 2
cmp edx, 4
mov edi, eax
jne 0x48239c
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x48230e
xor ecx, ecx
jmp 0x482311
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x78]
shr eax, 2
push edx
push eax
push ecx
call fcn.00408980
mov ebp, eax
add esp, 0xc
cmp ebp, 0xffffffff
je 0x482398
xor ecx, ecx
xor esi, esi
test edi, edi
mov dword [esp + 0x5c], ecx
jle 0x4823e0
mov eax, dword [ebx]
mov edx, dword [esp + 0x30]
cmp eax, edx
jge 0x48236f
mov edx, dword [esp + 0x88]
cmp eax, edx
jl 0x482367
mov ecx, edx
mov edx, dword [esp + 0x78]
sub eax, ecx
lea ecx, [esp + 0x4c]
add eax, edx
push eax
call fcn.004733d0
mov ecx, dword [esp + 0x5c]
inc esi
add ebx, 4
cmp esi, edi
jl 0x48233a
test ecx, ecx
jle 0x4823e0
mov eax, ecx
push ecx
shr eax, 2
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x58]
lea ecx, [ebp*4]
push eax
push ecx
mov ecx, dword [esp + 0x88]
call fcn.00473930
jmp 0x4823e0
mov ebp, dword [esp + 0x7c]
test edi, edi
jle 0x4823e0
mov esi, dword [esp + 0x88]
mov dword [esp + 0x7c], edi
mov edi, dword [esp + 0x78]
mov eax, dword [ebx]
cmp eax, esi
jl 0x4823d2
cmp eax, dword [esp + 0x30]
jge 0x4823d2
sub eax, esi
mov ecx, ebp
add eax, edi
push eax
call fcn.004733d0
cmp dword [esp + 0x18], 4
jne 0x4823d2
inc dword [esp + 0x28]
mov eax, dword [esp + 0x7c]
add ebx, 4
dec eax
mov dword [esp + 0x7c], eax
jne 0x4823af
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
inc eax
cmp eax, 4
mov dword [esp + 0x18], eax
jle 0x4822a0
mov eax, dword [ecx + 0x64]
test eax, eax
jne 0x482401
xor eax, eax
jmp 0x482404
mov eax, dword [ecx + 0x5c]
mov ecx, dword [ecx + 0x64]
mov edx, dword [esp + 0x30]
shr ecx, 2
push edx
push ecx
push eax
call fcn.00408980
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x30]
mov ebx, eax
mov eax, dword [esp + 0x84]
add esp, 0xc
add eax, edx
mov dword [esp + 0x78], eax
mov ebp, eax
cmp ebx, 0xffffffff
jne 0x482030
jmp 0x482445
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x481fcf
jmp 0x4833b4
push 0xd0
call fcn.0051a4c6
mov esi, eax
add esp, 4
mov dword [esp + 0x48], esi
xor ebp, ebp
cmp esi, ebp
je 0x482531
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx + 0x184]
mov eax, dword [edx]
mov edi, dword [eax + 0xcc]
mov eax, dword [0x59697c]
mov dword [esi], eax
mov ecx, dword [0x59697c]
mov dword [esi + 4], ecx
lea ebx, [esi + 0x14]
push edi
mov ecx, ebx
mov byte [esp + 0x6c], 3
call fcn.0040bdb0
mov dword [ebx], 0x54d958
push edi
lea ecx, [esi + 0x34]
mov byte [esp + 0x6c], 4
call fcn.0040bfe0
lea ecx, [esi + 0x54]
mov byte [esp + 0x68], 5
call fcn.00473110
lea ecx, [esi + 0x68]
mov byte [esp + 0x68], 6
call fcn.00473110
lea ecx, [esi + 0x7c]
mov byte [esp + 0x68], 7
call fcn.00473110
lea ecx, [esi + 0x90]
mov byte [esp + 0x68], 8
call fcn.00473110
lea ecx, [esi + 0xa4]
mov byte [esp + 0x68], 9
call fcn.00473110
lea ecx, [esi + 0xb8]
mov byte [esp + 0x68], 0xa
call fcn.00473110
mov dword [esi + 0xc], ebp
mov dword [esi + 0x10], ebp
mov dword [esi + 8], ebp
mov dword [esi + 0xcc], edi
mov dword [esp + 0x14], esi
jmp 0x482535
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x34]
mov byte [esp + 0x68], 0
cmp eax, ebp
mov dword [esp + 0x3c], ebp
jle 0x48277d
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x3c]
mov eax, dword [edx + 0x184]
mov ebp, dword [eax + ecx*4]
test byte [ebp + 0xc], 1
je 0x482697
mov eax, dword [ebp + 0xc8]
test eax, eax
jne 0x48257c
mov dword [esp + 0x20], 0
jmp 0x482586
mov edx, dword [ebp + 0xc0]
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x20]
lea ecx, [eax + 1]
call fcn.004ca300
mov esi, eax
mov bl, byte [esi]
mov dword [esp + 0x44], esi
cmp bl, 1
je 0x482768
push esi
call fcn.004c9ab0
add esp, 4
cmp bl, 0x21
mov dword [esp + 0x2c], eax
jne 0x482690
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov edi, esi
push eax
mov ecx, dword [ebx + 0xc8]
push esi
mov dword [esp + 0x2c], ecx
lea ecx, [ebx + 0xb8]
sub edi, edx
mov byte [esi], 0x6a
call fcn.004739d0
mov eax, 1
mov byte [esi], 0x21
mov dword [esp + 0x18], eax
jmp 0x4825f5
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
cmp eax, 1
jne 0x482602
lea ecx, [ebp + 0x7c]
add ebx, 0x7c
jmp 0x48262e
cmp eax, 2
jne 0x482615
lea ecx, [ebp + 0x90]
add ebx, 0x90
jmp 0x48262e
cmp eax, 3
jne 0x482628
lea ecx, [ebp + 0xa4]
add ebx, 0xa4
jmp 0x48262e
lea ecx, [ebp + 0x54]
add ebx, 0x54
mov eax, dword [ecx + 0x10]
test eax, eax
jne 0x482639
xor esi, esi
jmp 0x48263c
mov esi, dword [ecx + 8]
shr eax, 2
test eax, eax
jle 0x482676
mov dword [esp + 0x48], eax
mov eax, dword [esi]
cmp eax, edi
jl 0x482668
mov edx, dword [esp + 0x2c]
lea ecx, [edi + edx]
cmp eax, ecx
jge 0x482668
mov ecx, dword [esp + 0x24]
sub ecx, edi
add ecx, eax
push ecx
mov ecx, ebx
call fcn.004733d0
mov eax, dword [esp + 0x48]
add esi, 4
dec eax
mov dword [esp + 0x48], eax
jne 0x482647
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 4
mov dword [esp + 0x18], eax
jle 0x4825ed
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x44]
add esi, eax
jmp 0x482594
mov esi, dword [esp + 0x14]
mov ecx, ebp
mov eax, dword [esi + 0xc8]
push eax
push 0
call fcn.004cacc0
mov ecx, dword [ebp + 0xc8]
mov eax, ecx
test eax, eax
jne 0x4826bb
xor eax, eax
jmp 0x4826c1
mov eax, dword [ebp + 0xc0]
push ecx
push eax
lea ecx, [esi + 0xb8]
call fcn.004739d0
mov ecx, dword [ebp + 0x64]
mov eax, ecx
test eax, eax
jne 0x4826db
xor eax, eax
jmp 0x4826de
mov eax, dword [ebp + 0x5c]
push ecx
push eax
lea ecx, [esi + 0x54]
call fcn.004739d0
mov ecx, dword [ebp + 0x78]
mov eax, ecx
test eax, eax
jne 0x4826f5
xor eax, eax
jmp 0x4826f8
mov eax, dword [ebp + 0x70]
push ecx
push eax
lea ecx, [esi + 0x68]
call fcn.004739d0
mov ecx, dword [ebp + 0x8c]
mov eax, ecx
test eax, eax
jne 0x482712
xor eax, eax
jmp 0x482718
mov eax, dword [ebp + 0x84]
push ecx
push eax
lea ecx, [esi + 0x7c]
call fcn.004739d0
mov ecx, dword [ebp + 0xa0]
mov eax, ecx
test eax, eax
jne 0x482732
xor eax, eax
jmp 0x482738
mov eax, dword [ebp + 0x98]
push ecx
push eax
lea ecx, [esi + 0x90]
call fcn.004739d0
mov ecx, dword [ebp + 0xb4]
mov eax, ecx
test eax, eax
jne 0x482755
xor eax, eax
jmp 0x48275b
mov eax, dword [ebp + 0xac]
push ecx
push eax
lea ecx, [esi + 0xa4]
call fcn.004739d0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
inc eax
cmp eax, ecx
mov dword [esp + 0x3c], eax
jl 0x48254a
mov ebp, dword [esp + 0x14]
xor edi, edi
cmp dword [ebp + 0xc8], edi
jne 0x4827cd
cmp ebp, edi
je 0x48279f
mov ecx, ebp
call fcn.004502b0
push ebp
call fcn.0051a4ef
add esp, 4
lea ecx, [esp + 0x4c]
mov dword [esp + 0x68], 0xffffffff
mov dword [esp + 0x4c], 0x54d7d0
call fcn.00473310
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret
cmp dword [esp + 0x88], edi
jne 0x482e44
cmp dword [esp + 0x7c], 1
jne 0x4827fa
mov edx, dword [esp + 0x40]
push edx
call fcn.004aab80
mov esi, dword [esp + 0x14]
add esp, 4
add esi, eax
mov dword [esp + 0x10], esi
jmp 0x4827fe
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
cmp esi, edi
jle 0x482817
mov al, byte [esi + ebx - 1]
cmp al, 0x6d
je 0x482812
cmp al, 0x55
jne 0x482817
dec esi
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x74]
mov dl, byte [esi + ebx]
lea ecx, [esi + ebx]
mov eax, dword [eax + 0xc8]
cmp esi, eax
jge 0x48283c
cmp dl, 0x6e
je 0x482835
cmp dl, 0x6d
jne 0x48283c
mov edi, 1
jmp 0x48283e
xor edi, edi
cmp ecx, ebx
jbe 0x482854
mov al, byte [ecx - 1]
mov dword [esp + 0x80], 1
cmp al, 0x6f
je 0x48285f
mov dword [esp + 0x80], 0
mov eax, dword [ebp + 0xc8]
lea esi, [ebp + 0xb8]
test eax, eax
jne 0x482873
xor eax, eax
jmp 0x482876
mov eax, dword [esi + 8]
xor ebx, ebx
cmp byte [eax], 0x6d
sete bl
cmp edi, 1
mov eax, ebx
jne 0x4828a5
test eax, eax
jne 0x4828a5
cmp dl, 0x6e
jne 0x4829eb
push ecx
mov ecx, dword [esp + 0x78]
call fcn.004cc7a0
add dword [esp + 0x10], eax
jmp 0x4829eb
mov ebx, 1
cmp eax, ebx
jne 0x4828ca
cmp edi, ebx
jne 0x4828bd
cmp dl, 0x6d
jne 0x4828bd
inc dword [esp + 0x10]
jmp 0x4828e3
cmp dword [esp + 0x80], ebx
jne 0x4828ca
dec dword [esp + 0x10]
cmp edi, ebx
je 0x4828db
cmp dword [esp + 0x80], ebx
jne 0x4829eb
cmp eax, ebx
jne 0x4829eb
mov eax, dword [ebp + 0x78]
lea ecx, [ebp + 0x68]
test eax, eax
jne 0x4828f1
xor esi, esi
jmp 0x4828f4
mov esi, dword [ecx + 8]
mov edx, dword [ebp + 0x78]
mov eax, 0x38e38e39
mul edx
shr edx, 1
xor eax, eax
test edx, edx
jle 0x482927
cmp byte [esi], 4
jne 0x482912
mov edi, dword [esi + 1]
test edi, edi
je 0x48291c
add esi, 9
inc eax
cmp eax, edx
jl 0x482906
jmp 0x482927
lea edx, [eax + eax*8]
push 9
push edx
call fcn.00473b50
push 0xffffffffffffffff
push 0
mov ecx, ebp
call fcn.004cacc0
lea esi, [ebp + 0xb8]
push ebx
push 0
mov ecx, esi
call fcn.00473b50
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x48294d
xor edi, edi
jmp 0x482950
mov edi, dword [esi + 8]
cmp byte [edi], 0x6e
jne 0x482970
inc edi
mov ecx, edi
call fcn.004ca150
add edi, eax
push 0
push edi
mov ecx, ebp
call fcn.004cc7d0
add edi, eax
cmp byte [edi], 0x6e
je 0x482955
mov eax, dword [ebp + 0xc8]
lea esi, [ebp + 0xb8]
test eax, eax
jne 0x482984
xor eax, eax
jmp 0x482987
mov eax, dword [esi + 8]
sub edi, eax
push 0xfffffffffffffffe
dec edi
mov ecx, ebp
push edi
call fcn.004cacc0
push 2
push edi
mov ecx, esi
call fcn.00473b50
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x4829a9
xor eax, eax
jmp 0x4829ac
mov eax, dword [esi + 8]
add edi, eax
push 0
push edi
mov ecx, ebp
call fcn.004cc7d0
mov ecx, dword [esi + 0x10]
lea eax, [edi + eax - 1]
test ecx, ecx
jne 0x4829c7
xor ecx, ecx
jmp 0x4829ca
mov ecx, dword [esi + 8]
sub eax, ecx
push 0xfffffffffffffffe
mov edi, eax
mov ecx, ebp
push edi
call fcn.004cacc0
push 2
push edi
mov ecx, esi
call fcn.00473b50
push 0x53
mov ecx, esi
call fcn.00473450
mov edi, dword [ebp + 0xc8]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x74]
push edi
push ebx
mov dword [esp + 0x34], edi
call fcn.004cacc0
mov ecx, dword [esp + 0x84]
mov eax, dword [ecx + 0x10]
test eax, eax
jne 0x482a16
xor ecx, ecx
jmp 0x482a19
mov ecx, dword [ecx + 8]
push edi
push ebx
shr eax, 2
push eax
push ecx
call fcn.004df780
mov eax, dword [esi + 0x10]
add esp, 0x10
test eax, eax
jne 0x482a33
xor esi, esi
jmp 0x482a36
mov esi, dword [esi + 8]
mov eax, dword [esp + 0x70]
push eax
push edi
mov edi, dword [esp + 0x7c]
push esi
push ebx
lea ecx, [edi + 0xb8]
call fcn.004e8020
mov eax, dword [edi + 0x64]
add edi, 0x54
test eax, eax
jne 0x482a5b
xor eax, eax
jmp 0x482a5e
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x74]
push ecx
mov ecx, dword [edx + 0x64]
shr ecx, 2
push ecx
push eax
call fcn.00408980
mov esi, dword [ebp + 0x64]
mov ebx, eax
add esp, 0xc
cmp ebx, 0xffffffff
je 0x482ac7
mov ecx, dword [ebp + 0x64]
lea eax, [ebp + 0x54]
test ecx, ecx
jne 0x482a8f
xor eax, eax
jmp 0x482a92
mov eax, dword [eax + 8]
lea ebp, [ebx*4]
push esi
push eax
push ebp
mov ecx, edi
call fcn.00473930
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x482aae
xor edi, edi
jmp 0x482ab1
mov edi, dword [edi + 8]
mov eax, dword [esp + 0x7c]
lea ecx, [edi + ebp]
cmp eax, 1
jne 0x482b14
sub ebx, dword [esp + 0x78]
mov dword [esp + 0x28], ebx
jmp 0x482b14
cmp dword [esp + 0x7c], 1
jne 0x482ae2
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov eax, dword [edx + 0x64]
shr eax, 2
sub eax, ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x74]
mov ecx, dword [ebp + 0x64]
test ecx, ecx
mov ebx, dword [eax + 0x64]
lea eax, [ebp + 0x54]
jne 0x482af7
xor eax, eax
jmp 0x482afa
mov eax, dword [eax + 8]
push esi
push eax
mov ecx, edi
call fcn.004739d0
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x482b0e
xor edi, edi
jmp 0x482b11
mov edi, dword [edi + 8]
lea ecx, [edi + ebx]
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x64]
xor edx, edx
shr eax, 2
dec eax
test eax, eax
setl dl
dec edx
and eax, edx
mov edx, dword [esp + 0x28]
add edx, eax
mov eax, dword [esp + 0x10]
shr esi, 2
push eax
push esi
push ecx
mov dword [esp + 0x34], edx
call fcn.004dfb30
add esp, 0xc
mov ebp, 1
cmp ebp, 1
jne 0x482b5f
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x74]
lea eax, [ecx + 0x7c]
lea edi, [edx + 0x7c]
jmp 0x482ba2
cmp ebp, 2
jne 0x482b7a
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x74]
lea eax, [edx + 0x90]
lea edi, [ecx + 0x90]
jmp 0x482ba2
cmp ebp, 3
jne 0x482b94
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x14]
add eax, 0xa4
lea edi, [edx + 0xa4]
jmp 0x482ba2
mov ecx, dword [esp + 0x14]
lea eax, [ecx + 0x68]
mov ecx, dword [esp + 0x74]
lea edi, [ecx + 0x68]
mov esi, dword [eax + 0x10]
mov ebx, dword [edi + 0x10]
test esi, esi
jne 0x482bb0
xor eax, eax
jmp 0x482bb3
mov eax, dword [eax + 8]
push esi
push eax
mov ecx, edi
call fcn.004739d0
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x482bc7
xor edi, edi
jmp 0x482bca
mov edi, dword [edi + 8]
cmp ebp, 4
lea ecx, [edi + ebx]
jne 0x482bf0
mov edx, dword [esp + 0x10]
mov eax, 0x38e38e39
push edx
mul esi
push 1
push 0
shr edx, 1
push edx
push ecx
call fcn.00408850
add esp, 0x14
jmp 0x482c02
mov eax, dword [esp + 0x10]
shr esi, 2
push eax
push esi
push ecx
call fcn.004dfb30
add esp, 0xc
inc ebp
cmp ebp, 4
jle 0x482b4a
mov ecx, dword [esp + 0x74]
lea eax, [ecx + 0xb8]
mov ecx, dword [ecx + 0xc8]
test ecx, ecx
jne 0x482c24
xor edi, edi
jmp 0x482c27
mov edi, dword [eax + 8]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
add edi, edx
mov dword [esp + 0x78], 0
lea ebp, [eax + edi]
cmp edi, ebp
jae 0x4832a4
mov esi, dword [esp + 0x78]
mov cl, byte [edi]
inc edi
mov byte [esp + 0x80], cl
mov edx, dword [esp + 0x80]
push edx
call fcn.004cc730
add esp, 4
cmp eax, 1
jne 0x482e31
mov ecx, edi
call fcn.004ca150
mov ebx, eax
mov ax, word [edi + 6]
test al, 2
je 0x482e07
and eax, 0xfffd
mov ecx, edi
mov word [edi + 6], ax
call fcn.004ca120
cmp eax, 0xffff
jne 0x482e07
test esi, esi
jne 0x482d13
mov eax, dword [esp + 0x74]
lea ecx, [eax + 0xb8]
mov eax, dword [eax + 0xc8]
test eax, eax
jne 0x482cb7
xor eax, eax
jmp 0x482cba
mov eax, dword [ecx + 8]
lea edx, [edi - 1]
cmp edx, eax
jbe 0x482e07
mov al, byte [edi - 2]
cmp al, 0x73
je 0x482cd8
cmp al, 0x72
je 0x482cd8
cmp al, 0x74
jne 0x482e07
mov eax, dword [ecx + 0x10]
test eax, eax
jne 0x482ce3
xor edx, edx
jmp 0x482ce6
mov edx, dword [ecx + 8]
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0xc8]
lea eax, [ebx + edi]
add ecx, edx
cmp eax, ecx
jae 0x482e07
mov cl, byte [eax]
push ecx
call fcn.004c9500
add esp, 4
cmp eax, 5
je 0x482e07
jmp 0x482d1c
cmp esi, 1
jne 0x482e03
mov ecx, dword [esp + 0x74]
mov eax, dword [ecx + 0xc8]
test eax, eax
jne 0x482d2e
xor eax, eax
jmp 0x482d34
mov eax, dword [ecx + 0xc0]
sub edi, eax
lea eax, [ecx + 0x54]
dec edi
inc ebx
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x482d46
xor eax, eax
jmp 0x482d49
mov eax, dword [eax + 8]
mov esi, dword [esp + 0x74]
push edi
mov edx, dword [esi + 0x64]
shr edx, 2
push edx
push eax
call fcn.00473f40
add esp, 0xc
lea ecx, [esi + 0x54]
shl eax, 2
push 4
push eax
call fcn.00473b50
mov ebp, ebx
mov ecx, esi
neg ebp
push ebp
push edi
call fcn.004cacc0
mov ecx, dword [esp + 0x84]
mov eax, dword [ecx + 0x10]
test eax, eax
jne 0x482d8b
xor ecx, ecx
jmp 0x482d95
mov edx, dword [esp + 0x84]
mov ecx, dword [edx + 8]
push ebp
push edi
shr eax, 2
push eax
push ecx
call fcn.004df780
mov eax, dword [esp + 0x80]
add esp, 0x10
add esi, 0xb8
push eax
push ebx
push edi
mov ecx, esi
call fcn.004e81a0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esi + 0x10]
sub ecx, ebx
test eax, eax
mov dword [esp + 0x2c], ecx
jne 0x482dd0
xor eax, eax
jmp 0x482dd3
mov eax, dword [esi + 8]
add edi, eax
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x482de0
xor esi, esi
jmp 0x482de3
mov esi, dword [esi + 8]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
xor ebx, ebx
lea ebp, [esi + ecx]
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x78]
add ebp, ecx
dec eax
add edi, ebx
mov dword [esp + 0x28], eax
jmp 0x482e37
test esi, esi
jne 0x482e2d
mov al, byte [esp + 0x80]
cmp al, 0x6c
je 0x482e27
cmp al, 0x6b
je 0x482e27
cmp al, 0x6e
je 0x482e27
mov esi, 1
add edi, ebx
mov dword [esp + 0x78], esi
jmp 0x482e37
xor esi, esi
mov dword [esp + 0x78], esi
add edi, ebx
jmp 0x482e37
xor esi, esi
mov dword [esp + 0x78], esi
cmp edi, ebp
jb 0x482c48
jmp 0x4832a4
mov ecx, dword [esp + 0x74]
mov eax, dword [ecx + 0x64]
shr eax, 2
mov dword [esp + 0x48], eax
mov eax, dword [ecx + 0xc8]
cmp eax, edi
jne 0x482e62
mov dword [esp + 0x1c], edi
jmp 0x482e6c
mov edx, dword [ecx + 0xc0]
mov dword [esp + 0x1c], edx
lea eax, [ecx + 0x54]
mov ecx, dword [ecx + 0x64]
cmp ecx, edi
jne 0x482e7f
mov dword [esp + 0x84], edi
jmp 0x482e89
mov eax, dword [eax + 8]
mov dword [esp + 0x84], eax
cmp dword [ebp + 0xc8], edi
jne 0x482e97
mov dword [esp + 0x20], edi
jmp 0x482ea1
mov ecx, dword [ebp + 0xc0]
mov dword [esp + 0x20], ecx
cmp dword [ebp + 0x64], edi
jne 0x482eac
mov dword [esp + 0x10], edi
jmp 0x482eb3
mov edx, dword [ebp + 0x5c]
mov dword [esp + 0x10], edx
mov eax, dword [ebp + 0x64]
mov dword [esp + 0x80], edi
shr eax, 2
cmp eax, edi
mov dword [esp + 0x38], eax
jle 0x4832a4
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x48]
cmp eax, ecx
jge 0x4832a4
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x1c]
shl eax, 2
mov dword [esp + 0x44], eax
mov eax, dword [eax + ecx]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x24], eax
lea edi, [eax + edx]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x88], eax
lea esi, [eax + edx]
mov al, byte [esi + 7]
mov dword [esp + 0x7c], esi
inc esi
test al, 2
jne 0x483256
mov ecx, dword [esp + 0x7c]
mov al, byte [edi]
cmp al, byte [ecx]
jne 0x4832a4
cmp al, 0x70
je 0x482f3a
cmp al, 0x71
jne 0x482f4d
lea edx, [edi + 1]
mov ecx, esi
push edx
call fcn.004ca0f0
test eax, eax
je 0x4832a4
push edi
call fcn.004aab80
add esp, 4
mov ecx, esi
mov ebx, eax
call fcn.004ca150
mov esi, dword [esp + 0x74]
mov ebp, eax
mov eax, dword [esp + 0x24]
push 0
push ebx
push eax
mov ecx, esi
inc ebp
call fcn.004cada0
mov ecx, dword [esi + 0x64]
lea eax, [esi + 0x54]
test ecx, ecx
jne 0x482f83
xor eax, eax
jmp 0x482f86
mov eax, dword [eax + 8]
mov esi, dword [esp + 0x74]
mov ecx, dword [esp + 0x24]
mov edi, ebp
mov edx, dword [esi + 0x64]
sub edi, ebx
push edi
push ecx
shr edx, 2
push edx
push eax
call fcn.004df780
mov edx, dword [esi + 0x78]
add esp, 0x10
mov eax, edx
test eax, eax
jne 0x482fb1
xor ecx, ecx
jmp 0x482fb4
mov ecx, dword [esi + 0x70]
mov eax, dword [esp + 0x24]
push edi
inc eax
push 1
push eax
mov eax, 0x38e38e39
mul edx
shr edx, 1
push edx
push ecx
call fcn.00408850
mov eax, dword [esi + 0x8c]
add esp, 0x14
test eax, eax
jne 0x482fde
xor eax, eax
jmp 0x482fe4
mov eax, dword [esi + 0x84]
mov edx, dword [esi + 0x8c]
mov ecx, dword [esp + 0x24]
push edi
push ecx
shr edx, 2
push edx
push eax
call fcn.004df780
mov eax, dword [esi + 0xa0]
add esp, 0x10
test eax, eax
jne 0x48300b
xor eax, eax
jmp 0x483011
mov eax, dword [esi + 0x98]
mov edx, dword [esi + 0xa0]
mov ecx, dword [esp + 0x24]
push edi
push ecx
shr edx, 2
push edx
push eax
call fcn.004df780
mov eax, dword [esi + 0xb4]
add esp, 0x10
test eax, eax
jne 0x483038
xor eax, eax
jmp 0x48303e
mov eax, dword [esi + 0xac]
mov edx, dword [esi + 0xb4]
mov ecx, dword [esp + 0x24]
push edi
push ecx
shr edx, 2
push edx
push eax
call fcn.004df780
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x34]
add esp, 0x10
push eax
push ebp
push ecx
push ebx
push edx
lea ecx, [esi + 0xb8]
call fcn.004e8100
mov eax, dword [esp + 0x88]
mov ebx, dword [esp + 0x14]
add ebp, eax
mov dword [esp + 0x18], 1
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], ebp
jmp 0x48309c
mov ebx, dword [esp + 0x14]
cmp ecx, 1
jne 0x4830ad
mov edx, dword [esp + 0x74]
add ebx, 0x7c
lea eax, [edx + 0x7c]
jmp 0x4830e6
cmp ecx, 2
jne 0x4830c3
mov eax, dword [esp + 0x74]
add ebx, 0x90
add eax, 0x90
jmp 0x4830e6
cmp ecx, 3
jne 0x4830da
mov edx, dword [esp + 0x74]
add ebx, 0xa4
lea eax, [edx + 0xa4]
jmp 0x4830e6
lea eax, [ebx + 0x54]
mov ebx, eax
mov eax, dword [esp + 0x74]
add eax, 0x54
mov dword [esp + 0x7c], eax
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x4830f5
xor esi, esi
jmp 0x4830f8
mov esi, dword [ebx + 8]
mov ebp, eax
shr ebp, 2
cmp ecx, 4
jne 0x48319f
test eax, eax
je 0x483111
mov ecx, dword [ebx + 8]
test ecx, ecx
jne 0x483116
or eax, 0xffffffff
jmp 0x48312b
mov edx, dword [esp + 0x88]
shr eax, 2
push edx
push eax
push ecx
call fcn.00474120
add esp, 0xc
lea ecx, [eax*4]
mov edi, eax
add esi, ecx
cmp eax, ebp
jge 0x48314a
mov edx, dword [esp + 0x30]
cmp dword [esi], edx
jge 0x48314a
inc edi
add esi, 4
cmp edi, ebp
jl 0x48313e
sub edi, eax
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x483157
xor eax, eax
jmp 0x48315a
mov eax, dword [ebx + 8]
mov esi, dword [esp + 0x44]
mov ebx, dword [esp + 0x7c]
lea edx, [edi*4]
add eax, ecx
push edx
push eax
push esi
mov ecx, ebx
call fcn.00473930
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x483180
xor eax, eax
jmp 0x483183
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x88]
sub ecx, ebp
add esi, eax
push ecx
push edi
push esi
call fcn.004dfb30
add esp, 0xc
jmp 0x4831d0
test ebp, ebp
jle 0x4831d0
mov edi, dword [esp + 0x88]
mov ebx, dword [esp + 0x24]
mov eax, dword [esi]
cmp eax, edi
jl 0x4831ca
cmp eax, dword [esp + 0x30]
jge 0x4831ca
mov ecx, dword [esp + 0x7c]
mov edx, ebx
sub edx, edi
add edx, eax
push edx
call fcn.004733d0
add esi, 4
dec ebp
jne 0x4831ae
mov ecx, dword [esp + 0x18]
inc ecx
cmp ecx, 4
mov dword [esp + 0x18], ecx
jle 0x483098
mov edi, dword [esp + 0x74]
mov eax, dword [edi + 0xc8]
test eax, eax
jne 0x4831f8
xor ebp, ebp
mov dword [esp + 0x1c], ebp
jmp 0x483204
mov eax, dword [edi + 0xc0]
mov dword [esp + 0x1c], eax
mov ebp, eax
mov eax, dword [edi + 0x64]
test eax, eax
jne 0x48320f
xor esi, esi
jmp 0x483212
mov esi, dword [edi + 0x5c]
mov ebx, dword [edi + 0x64]
mov eax, dword [esp + 0x78]
shr ebx, 2
inc eax
mov dword [esp + 0x84], esi
cmp eax, ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x78], eax
jge 0x483256
mov ecx, eax
lea esi, [esi + ecx*4]
mov edx, dword [esi]
mov ecx, edi
add edx, ebp
push edx
call fcn.004cced0
cmp eax, 1
je 0x483256
mov eax, dword [esp + 0x78]
add esi, 4
inc eax
cmp eax, ebx
mov dword [esp + 0x78], eax
jl 0x483235
mov edi, dword [esp + 0x80]
mov ebx, dword [esp + 0x38]
inc edi
cmp edi, ebx
mov dword [esp + 0x80], edi
jge 0x4832a4
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x20]
lea esi, [eax + edi*4]
mov ecx, dword [esi]
add ecx, ebp
push ecx
mov ecx, dword [esp + 0x18]
call fcn.004cced0
cmp eax, 1
je 0x48329c
inc edi
add esi, 4
cmp edi, ebx
mov dword [esp + 0x80], edi
jge 0x4832a4
jmp 0x483278
cmp edi, ebx
jl 0x482ecc
mov edi, dword [esp + 0x14]
xor ebx, ebx
cmp edi, ebx
mov dword [esp + 0x74], edi
je 0x4833b4
lea ecx, [edi + 0xb8]
mov byte [esp + 0x68], 0x13
mov dword [ecx], 0x54d7d0
call fcn.00473310
lea ecx, [edi + 0xa4]
mov byte [esp + 0x68], 0x12
mov dword [ecx], 0x54d7d0
call fcn.00473310
lea ecx, [edi + 0x90]
mov byte [esp + 0x68], 0x11
mov dword [ecx], 0x54d7d0
call fcn.00473310
lea ecx, [edi + 0x7c]
mov byte [esp + 0x68], 0x10
mov dword [ecx], 0x54d7d0
call fcn.00473310
lea ecx, [edi + 0x68]
mov byte [esp + 0x68], 0xf
mov dword [ecx], 0x54d7d0
call fcn.00473310
lea ecx, [edi + 0x54]
mov byte [esp + 0x68], 0xe
mov dword [ecx], 0x54d7d0
call fcn.00473310
lea eax, [edi + 0x34]
mov dword [esp + 0x78], eax
mov dword [eax], fcn.004d28e0
lea esi, [eax + 8]
mov byte [esp + 0x68], 0x14
mov ecx, esi
mov dword [eax + 4], ebx
call fcn.00473310
mov ecx, esi
mov byte [esp + 0x68], 0xd
mov dword [esi], 0x54d7d0
call fcn.00473310
lea eax, [edi + 0x14]
mov dword [esp + 0x78], eax
mov dword [eax], fcn.004d28e0
lea esi, [eax + 8]
mov byte [esp + 0x68], 0x15
mov ecx, esi
mov dword [eax + 4], ebx
call fcn.00473310
mov ecx, esi
mov byte [esp + 0x68], 0xc
mov dword [esi], 0x54d7d0
call fcn.00473310
lea ecx, [edi + 4]
mov byte [esp + 0x68], 0xb
call fcn.00519616
mov ecx, edi
mov byte [esp + 0x68], bl
call fcn.00519616
push edi
call fcn.0051a4ef
add esp, 4
lea ecx, [esp + 0x4c]
mov dword [esp + 0x68], 0xffffffff
mov dword [esp + 0x4c], 0x54d7d0
call fcn.00473310
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x5c
ret