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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx]
push esi
xor edx, edx
push edi
mov edi, dword [ebx + 8]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], ecx
cmp edi, edx
je 0x47aad2
mov esi, dword [ebp + 0xc]
lea eax, [edx + 0x65]
cmp esi, edx
je 0x479ff5
movzx eax, byte [esi]
mov dword [esp + 0x1c], eax
add eax, 0xffffffed
cmp eax, 0x8c
ja case.0x47a00e.21
movzx eax, byte [eax + 0x47ae04]
jmp dword [eax*4 + 0x47ad9c]
movsx ecx, word [esi + 0x22]
mov eax, dword [esi + 0x28]
cmp byte [eax], 0
mov edx, dword [eax + 0x1c]
lea ecx, [ecx + ecx*2]
lea ecx, [edx + ecx*8]
jne 0x47a038
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x2c], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [eax + 1], 0
je 0x47a061
mov edx, dword [ebp + 0x10]
mov ecx, dword [ecx + 0xc]
push edx
mov edx, dword [eax + 8]
push ecx
push edx
push 0x2f
mov esi, edi
call fcn.00463e10
mov eax, dword [esp + 0x3c]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor edx, edx
mov eax, dword [esi + 0x1c]
cmp eax, edx
jge 0x47a085
mov ecx, dword [ebx + 0x5c]
cmp ecx, edx
jle 0x47a082
movsx eax, word [esi + 0x20]
add eax, ecx
mov dword [esp + 0x2c], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x60]
mov ecx, esi
movzx edx, byte [ecx + 0x26]
push edx
mov edx, dword [ebp + 0x10]
push edx
push eax
movsx eax, word [ecx + 0x20]
mov ecx, dword [ecx + 0x2c]
push eax
push ecx
mov edi, ebx
call fcn.00479de0
add esp, 0x14
mov dword [esp + 0x2c], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x10]
push edx
push ebx
xor ecx, ecx
mov eax, esi
call fcn.004797b0
mov eax, dword [esp + 0x34]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
push eax
mov ecx, esi
mov eax, dword [ecx + 8]
push 0
call fcn.004796a0
mov eax, dword [esp + 0x34]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x10]
push 0
mov edx, esi
mov eax, dword [edx + 8]
push eax
push 0
push ecx
push 0
push 0x61
mov esi, edi
call fcn.00463f80
mov eax, dword [esp + 0x44]
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x10]
push edx
push 0
push 0x1a
mov esi, edi
call fcn.00463f20
mov eax, dword [esp + 0x38]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, esi
mov edi, dword [eax + 8]
add edi, 2
mov eax, edi
call fcn.004482e0
mov esi, dword [esp + 0x28]
mov ecx, dword [esi]
lea ebx, [eax - 1]
push ebx
call fcn.00449460
mov ecx, dword [ebp + 0x10]
add esp, 4
push 0xffffffffffffffff
push eax
mov eax, ebx
cdq
push 0
sub eax, edx
push ecx
sar eax, 1
push eax
push 0x1c
call fcn.00463f80
mov eax, dword [esp + 0x44]
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x10]
mov eax, esi
movsx ecx, word [eax + 0x20]
push edx
push ecx
push 0x1d
mov esi, edi
call fcn.00463f20
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
add esp, 0xc
cmp byte [eax + 1], 0
je 0x47a34f
mov eax, dword [ebx + 0x1d4]
mov ecx, edx
movsx edx, word [ecx + 0x20]
mov ebx, dword [eax + edx*4 - 4]
mov eax, dword [edi + 4]
mov edx, dword [edi]
test eax, eax
je 0x47a1fc
cmp byte [edx + 0x41], 0
jne 0x47a1fc
mov edi, dword [edi + 0x20]
lea ecx, [edi + edi*4 - 5]
lea esi, [eax + ecx*4]
movsx eax, byte [esi + 1]
mov ecx, dword [esi + 0x10]
call fcn.00464450
xor eax, eax
mov dword [esi + 0x10], eax
cmp ebx, eax
jne 0x47a1ea
mov dword [esi + 0x10], eax
mov byte [esi + 1], al
mov eax, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x10], ebx
mov byte [esi + 1], 0xfe
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, ebx
mov eax, 0xfffffffe
call fcn.00464450
mov eax, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x1c]
mov dword [esp + 0x2c], edx
mov eax, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov ecx, dword [esi + 0xc]
push eax
push ecx
push ebx
call fcn.00479fb0
add esp, 0xc
mov dword [esp + 0x2c], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x10]
mov eax, dword [esi + 0xc]
push edx
push eax
push ebx
call fcn.00479fb0
add esp, 0xc
mov dword [esp + 0x2c], eax
cmp eax, dword [ebp + 0x10]
je 0x47a271
mov ecx, dword [ebp + 0x10]
push ecx
push eax
push 0x20
mov esi, edi
call fcn.00463f20
mov edx, dword [ebp + 0x10]
add esp, 0xc
mov dword [esp + 0x2c], edx
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 8]
xor edi, edi
call fcn.00481820
mov edx, dword [ebp + 0x10]
mov esi, dword [esp + 0x28]
movsx ecx, al
push ecx
push edx
push 0x28
call fcn.00463f20
lea ecx, [edi + 1]
mov edi, dword [esp + 0x38]
add esp, 0xc
mov eax, ebx
call fcn.00479a80
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x18]
push eax
mov eax, dword [esi + 0xc]
mov ecx, ebx
call fcn.0047af00
lea ecx, [esp + 0x10]
add esp, 4
mov edi, eax
mov eax, dword [esi + 0x10]
push ecx
mov ecx, ebx
call fcn.0047af00
mov edx, dword [ebp + 0x10]
add esp, 4
push 0x20
push edx
push eax
mov eax, dword [esp + 0x28]
push edi
push eax
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
push ebx
call fcn.00476850
add esp, 0x18
mov esi, dword [esp + 0x18]
test esi, esi
je 0x47a31e
mov dl, byte [ebx + 0x13]
cmp dl, 8
jae 0x47a31e
xor eax, eax
lea ecx, [ebx + 0x74]
cmp dword [ecx + 0xc], esi
je 0x47ad83
inc eax
add ecx, 0x14
cmp eax, 0xa
jl 0x47a302
movzx eax, dl
mov dword [ebx + eax*4 + 0x18], esi
inc byte [ebx + 0x13]
mov esi, dword [esp + 0xc]
test esi, esi
je 0x47a34f
mov dl, byte [ebx + 0x13]
cmp dl, 8
jae 0x47a34f
xor eax, eax
lea ecx, [ebx + 0x74]
cmp dword [ecx + 0xc], esi
je 0x47ad8c
inc eax
add ecx, 0x14
cmp eax, 0xa
jl 0x47a333
movzx ecx, dl
mov dword [ebx + ecx*4 + 0x18], esi
inc byte [ebx + 0x13]
mov eax, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xc]
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebx
call fcn.0047af00
lea edx, [esp + 0x10]
add esp, 4
mov edi, eax
mov eax, dword [esi + 0x10]
push edx
mov ecx, ebx
call fcn.0047af00
mov ecx, dword [ebp + 0x10]
add esp, 4
xor edx, edx
cmp dword [esp + 0x1c], 0x49
push 0xa0
sete dl
push ecx
push eax
push edi
add edx, 0x4e
push edx
jmp 0x47a2de
lea eax, [esp + 0x18]
mov ecx, esi
push eax
mov eax, dword [ecx + 0xc]
mov ecx, ebx
call fcn.0047af00
mov esi, eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x10]
lea edx, [esp + 0x10]
add esp, 4
push edx
mov ecx, ebx
call fcn.0047af00
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x20]
add esp, 4
push ecx
push esi
push eax
push edx
mov esi, edi
call fcn.00463e10
add esp, 0x10
jmp 0x47a2ed
mov eax, dword [esi + 0xc]
mov cl, byte [eax]
cmp cl, 0x84
jne 0x47a40b
mov ecx, dword [ebp + 0x10]
push ecx
push ebx
mov ecx, 1
call fcn.004797b0
mov edx, dword [ebp + 0x10]
add esp, 8
mov dword [esp + 0x2c], edx
jmp 0x47a2ed
cmp cl, 0x85
jne 0x47a42d
mov edx, dword [ebp + 0x10]
mov eax, dword [eax + 8]
push edx
push 1
call fcn.004796a0
mov edx, dword [ebp + 0x10]
add esp, 8
mov dword [esp + 0x2c], edx
jmp 0x47a2ed
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x3c]
mov ecx, ebx
mov byte [esp + 0x3c], 0x84
mov dword [esp + 0x40], 0x4400
mov dword [esp + 0x44], edx
call fcn.0047af00
mov edx, dword [ebp + 0xc]
lea ecx, [esp + 0x10]
add esp, 4
mov esi, eax
mov eax, dword [edx + 0xc]
push ecx
mov ecx, ebx
call fcn.0047af00
mov ecx, dword [ebp + 0x10]
add esp, 4
push ecx
push esi
push eax
push 0x5a
mov esi, edi
call fcn.00463e10
mov edx, dword [ebp + 0x10]
add esp, 0x10
mov dword [esp + 0x2c], edx
jmp 0x47a2ed
lea eax, [esp + 0x18]
mov ecx, esi
push eax
mov eax, dword [ecx + 0xc]
mov ecx, ebx
call fcn.0047af00
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x20]
add esp, 4
push ecx
push eax
push edx
mov esi, edi
mov dword [esp + 0x38], ecx
call fcn.00463f20
add esp, 0xc
jmp 0x47a2ed
mov eax, dword [ebp + 0x10]
push eax
push 1
push 0x17
mov esi, edi
call fcn.00463f20
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
lea ecx, [esp + 0x24]
add esp, 0xc
push ecx
mov ecx, ebx
call fcn.0047af00
add esp, 4
push eax
mov eax, dword [esp + 0x20]
push eax
call fcn.00463ec0
mov ecx, dword [ebp + 0x10]
push ecx
push 0
push 0x17
mov dword [esp + 0x44], eax
call fcn.00463f20
mov eax, dword [esp + 0x44]
add esp, 0x14
mov edx, edi
call fcn.00464430
jmp 0x47a2ed
mov eax, dword [esi + 0x28]
cmp eax, edx
jne 0x47a531
mov edx, dword [esi + 8]
push edx
push str.misuse_of_aggregate:__s__
push ebx
call fcn.004483c0
mov eax, dword [esp + 0x38]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movsx ecx, word [esi + 0x22]
mov edx, dword [eax + 0x28]
add ecx, ecx
mov eax, dword [edx + ecx*8 + 8]
mov dword [esp + 0x2c], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test dword [esi + 4], 0x4000
mov cl, byte [ecx + 0x3e]
mov dword [esp + 0x10], edx
mov byte [esp + 0x30], cl
mov dword [esp + 0x24], edx
je 0x47a567
mov dword [esp + 0x18], edx
jmp 0x47a574
mov esi, dword [esi + 0x14]
mov dword [esp + 0x18], esi
cmp esi, edx
je 0x47a574
mov edx, dword [esi]
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + 8]
mov eax, esi
mov dword [esp + 0xc], edx
call fcn.004482e0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0xc]
push 0
push ecx
push edx
mov edi, eax
mov eax, dword [esp + 0x20]
push esi
push eax
call fcn.00486ec0
add esp, 0x14
mov dword [esp + 0x1c], eax
test eax, eax
je 0x47a893
mov edx, eax
cmp dword [edx + 0xc], 0
je 0x47a893
movzx eax, word [edx + 2]
test eax, 0x200
je 0x47a679
mov eax, dword [esp + 0x28]
call fcn.00464180
mov edx, dword [esp + 0x18]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [edx + 4]
push ecx
mov ecx, dword [eax]
push ecx
push ebx
call fcn.0047b050
mov eax, dword [esp + 0x18]
add esp, 0xc
cmp eax, 1
jle 0x47a65d
dec eax
mov dword [esp + 0x14], 0x18
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x24]
mov edi, dword [ebp + 0x10]
mov esi, dword [esp + 0x28]
push edx
push edi
push 0x4d
call fcn.00463f20
add esp, 0xc
mov ecx, 1
mov eax, ebx
call fcn.00479a80
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp + 0x10]
mov esi, dword [esp + 0x14]
mov edi, 1
add dword [ebx + 0x64], edi
mov edx, dword [ecx + 4]
push eax
mov eax, dword [esi + edx]
push eax
push ebx
call fcn.0047b050
add esp, 0xc
mov eax, ebx
call fcn.00479b80
add esi, 0x18
sub dword [esp + 0x10], edi
mov dword [esp + 0x14], esi
jne 0x47a602
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x2c]
call fcn.004641d0
mov eax, dword [esp + 0x30]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, 0x400
je 0x47a6a2
mov eax, dword [esp + 0x18]
mov edx, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
push edx
mov edx, dword [ecx]
push edx
push ebx
call fcn.00479fb0
add esp, 0xc
mov dword [esp + 0x2c], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0xc]
xor esi, esi
lea edi, [esi + 1]
test eax, eax
jle 0x47a71b
mov dword [esp + 0x20], esi
cmp esi, 0x20
jge 0x47a6db
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x20]
mov eax, dword [ecx + edx]
push eax
call fcn.00478270
add esp, 4
test eax, eax
mov eax, dword [esp + 0xc]
je 0x47a6db
or dword [esp + 0x10], edi
mov ecx, dword [esp + 0x1c]
test byte [ecx + 2], 0x20
je 0x47a70b
cmp dword [esp + 0x24], 0
jne 0x47a70b
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0x20]
mov edx, dword [eax + ecx]
push ebx
call fcn.00476620
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
add esp, 4
add dword [esp + 0x20], 0x18
inc esi
rol edi, 1
cmp esi, eax
jl 0x47a6b3
mov edx, dword [esp + 0x1c]
cmp dword [esp + 0x18], 0
je 0x47a795
cmp dword [esp + 0x10], 0
je 0x47a73a
mov ecx, dword [ebx + 0x48]
lea esi, [ecx + 1]
add ecx, eax
mov dword [esp + 0x20], esi
mov dword [ebx + 0x48], ecx
jmp 0x47a74b
mov esi, eax
mov ecx, ebx
call fcn.0047c3c0
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
test byte [edx + 2], 0xc0
je 0x47a76f
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
mov cl, byte [eax]
cmp cl, 0x9a
je 0x47a766
cmp cl, 0x9c
jne 0x47a76f
mov dl, byte [edx + 2]
and dl, 0xc0
mov byte [eax + 0x26], dl
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
inc dword [ebx + 0x64]
push eax
push ebx
mov cl, 3
mov edx, esi
call fcn.0047b230
add esp, 8
mov eax, ebx
call fcn.00479b80
mov eax, dword [esp + 0xc]
jmp 0x47a7a1
mov esi, dword [esp + 0x18]
mov dword [esp + 0x20], 0
cmp eax, 2
jl 0x47a7cc
mov ecx, dword [ebp + 0xc]
test byte [ecx + 4], 0x80
je 0x47a7cc
mov edx, dword [esi + 4]
mov ecx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [edx + 0x18]
push ecx
call fcn.004a6550
add esp, 0xc
mov edi, eax
jmp 0x47a7f0
test eax, eax
jle 0x47a7ec
mov edx, dword [esi + 4]
mov ecx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [edx]
push ecx
call fcn.004a6550
add esp, 0xc
mov edi, eax
jmp 0x47a7f0
mov edi, dword [esp + 0x1c]
test byte [edi + 2], 0x20
je 0x47a823
cmp dword [esp + 0x24], 0
jne 0x47a808
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 8]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
push 0xfffffffffffffffc
push ecx
push 0
push 0
push 0
push 0x22
call fcn.00463f80
add esp, 0x18
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
push 0xfffffffffffffffb
push edi
push edx
push eax
push ecx
push 0x23
call fcn.00463f80
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x24]
add esp, 0x18
test eax, eax
je 0x47a857
mov esi, dword [esi + 0x20]
lea edx, [esi + esi*4]
mov byte [eax + edx*4 - 0x11], cl
test ecx, ecx
je 0x47a34f
cmp dword [esp + 0x10], 0
jne 0x47a34f
mov edi, dword [esp + 0x20]
mov eax, ebx
call fcn.00479a80
mov eax, dword [esp + 0xc]
cmp eax, dword [ebx + 0x38]
jle 0x47a34f
mov dword [ebx + 0x38], eax
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0x3c], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push edi
push str.unknown_function:__.s__
push ebx
call fcn.004483c0
mov eax, dword [esp + 0x3c]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push esi
push ebx
call fcn.00478bb0
add esp, 0x10
mov dword [esp + 0x2c], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edi
call fcn.00464180
mov dword [esp + 0x14], eax
mov eax, edi
call fcn.00464180
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x10]
push eax
push 0
push 0x1a
mov esi, edi
call fcn.00463f20
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, dword [ebp + 0xc]
add esp, 0xc
push ecx
push edx
push ebx
call fcn.004790d0
mov ebx, dword [ebp + 0x10]
add esp, 0xc
push ebx
push 1
push 0x17
call fcn.00463f20
mov eax, dword [esp + 0x20]
add esp, 0xc
push eax
mov ecx, edi
call fcn.004641d0
add esp, 4
push 0
push ebx
push 0x25
call fcn.00463f20
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ecx
mov ecx, edi
call fcn.004641d0
mov eax, dword [esp + 0x30]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, esi
mov esi, dword [eax + 0xc]
mov edx, dword [eax + 0x14]
mov eax, dword [edx + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [eax]
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], eax
push ecx
mov eax, esi
mov ecx, ebx
mov dword [esp + 0x2c], esi
call fcn.0047af00
lea edx, [esp + 0x10]
add esp, 4
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
push edx
mov ecx, ebx
call fcn.0047af00
add esp, 4
mov ecx, ebx
mov dword [esp + 0x30], eax
call fcn.0047c370
mov edx, eax
mov dword [esp + 0x14], edx
call fcn.0047c370
mov ecx, dword [esp + 0x20]
push 0x20
push edx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push 0x53
push ebx
mov ecx, esi
call fcn.00476850
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 0x18]
mov esi, dword [esp + 0x24]
mov edx, ebx
mov dword [esp + 0x28], eax
call fcn.0047c390
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebx
call fcn.0047af00
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
add esp, 0x1c
push 0x20
push esi
push eax
mov eax, dword [esp + 0x1c]
push edx
push 0x51
push ebx
call fcn.00476850
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x2c]
push eax
push esi
push ecx
push 0x48
mov esi, edi
call fcn.00463e10
mov esi, dword [esp + 0x3c]
add esp, 0x28
mov edx, ebx
call fcn.0047c390
mov esi, dword [esp + 0x24]
call fcn.0047c390
jmp 0x47a2ed
mov edx, dword [ebp + 0x10]
mov eax, dword [esi + 0xc]
push edx
push eax
push ebx
call fcn.00479fb0
add esp, 0xc
mov dword [esp + 0x2c], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x10]
mov ebx, esi
mov eax, dword [ebx + 0x2c]
movsx edx, word [eax + 0x22]
inc edx
imul edx, dword [ebx + 0x1c]
mov dword [esp + 0x30], eax
movsx eax, word [ebx + 0x20]
push ecx
lea ecx, [edx + eax + 1]
push ecx
push 0x86
mov esi, edi
call fcn.00463f20
movzx eax, word [ebx + 0x20]
add esp, 0xc
test ax, ax
js 0x47a34f
cwde
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 4]
cmp byte [ecx + edx*8 + 0x15], 0x45
jne 0x47a34f
mov edx, dword [ebp + 0x10]
push edx
push 0x27
call fcn.00463ec0
mov eax, dword [esp + 0x34]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x19c], edx
jne 0x47aadb
push str.RAISE___may_only_be_used_within_a_trigger_program
push ebx
call fcn.004483c0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi + 1], 2
jne 0x47aae8
mov ecx, ebx
call fcn.00485d90
mov al, byte [esi + 1]
push 0
cmp al, 4
jne 0x47ab14
mov eax, esi
mov ecx, dword [eax + 8]
push ecx
push 0
push 4
push 0
push 0x16
mov esi, edi
call fcn.00463f80
mov eax, dword [esp + 0x44]
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 8]
push 0
push edx
movsx eax, al
push 0x713
mov ecx, ebx
call fcn.00485db0
mov eax, dword [esp + 0x3c]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], edx
mov edx, dword [eax]
mov dword [esp + 0x34], eax
mov eax, edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], edx
call fcn.00464180
mov esi, dword [esi + 0xc]
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], esi
test esi, esi
je 0x47abb3
mov ecx, 0xc
mov eax, esi
lea edi, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebx
call fcn.0047af00
mov dl, byte [esp + 0x3c]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x6c]
add esp, 4
and dword [esp + 0x3c], 0xffffefff
mov byte [esp + 0x5e], dl
mov byte [esp + 0x38], 0x9f
mov byte [esp + 0x68], 0x4f
mov dword [esp + 0x74], eax
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0xc]
lea ecx, [eax - 1]
xor esi, esi
cmp ecx, esi
jle 0x47acf0
mov edx, dword [esp + 0x14]
lea eax, [ecx - 1]
shr eax, 1
inc eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x28], eax
inc dword [ebx + 0x64]
cmp dword [esp + 0x1c], 0
je 0x47abec
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov dword [esp + 0x78], ecx
jmp 0x47abf6
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
mov dword [esp + 0x24], eax
mov ecx, dword [edi + 0x18]
mov eax, dword [ecx + 0x6c]
lea edx, [eax + 1]
mov dword [ecx + 0x6c], edx
lea edx, [eax - 1]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], eax
test eax, edx
jne 0x47ac39
lea ecx, [eax*8 + 4]
push 0
push ecx
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x70]
mov esi, dword [ecx]
call fcn.00445c60
mov edx, dword [esp + 0x1c]
mov dword [edx + 0x70], eax
mov eax, dword [esp + 0x28]
add esp, 8
mov ecx, edx
mov ecx, dword [ecx + 0x70]
test ecx, ecx
je 0x47ac47
mov dword [ecx + eax*4], 0xffffffff
or esi, 0xffffffff
sub esi, eax
mov eax, dword [esp + 0x24]
push 0x10
push esi
push eax
push ebx
call fcn.0047b8a0
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x18]
push ecx
push eax
push ebx
call fcn.0047b050
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x18]
add esp, 0x1c
mov dword [esp + 0x14], eax
cmp dword [ecx + 0x54], eax
jg 0x47ac8b
push edi
call fcn.00463d80
add esp, 4
test eax, eax
jne 0x47acb6
inc dword [edi + 0x20]
mov eax, dword [esp + 0x14]
lea edx, [eax + eax*4]
mov eax, dword [edi + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x30]
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0xe
mov eax, ebx
call fcn.00479b80
mov ecx, dword [edi + 0x18]
or eax, 0xffffffff
sub eax, esi
js 0x47acd4
mov edx, dword [ecx + 0x70]
test edx, edx
je 0x47acd4
mov esi, dword [edi + 0x20]
mov dword [edx + eax*4], esi
mov eax, dword [edi + 0x20]
add dword [esp + 0x10], 0x30
dec eax
dec dword [esp + 0x28]
mov dword [ecx + 0x58], eax
jne 0x47abd6
mov eax, dword [esp + 0xc]
xor esi, esi
test al, 1
je 0x47ad1c
mov ecx, dword [ebp + 0x10]
inc dword [ebx + 0x64]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [eax + 4]
mov edx, dword [ecx + edx*8 - 0x18]
push edx
push ebx
call fcn.0047b050
add esp, 0xc
mov eax, ebx
call fcn.00479b80
jmp 0x47ad58
mov ebx, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x54], ebx
jg 0x47ad34
push edi
call fcn.00463d80
add esp, 4
test eax, eax
jne 0x47ad58
mov edx, dword [edi + 4]
inc dword [edi + 0x20]
lea ecx, [ebx + ebx*4]
lea eax, [edx + ecx*4]
mov ecx, dword [ebp + 0x10]
mov byte [eax + 3], 0
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov word [eax], 0x1a
mov ecx, dword [edi + 0x18]
or eax, 0xffffffff
sub eax, dword [esp + 0x30]
js 0x47ad71
mov edx, dword [ecx + 0x70]
cmp edx, esi
je 0x47ad71
mov esi, dword [edi + 0x20]
mov dword [edx + eax*4], esi
mov edx, dword [edi + 0x20]
mov eax, dword [esp + 0x2c]
dec edx
mov dword [ecx + 0x58], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [ecx + 6], 1
jmp 0x47a31e
mov eax, dword [esp + 0x2c]
pop edi
pop esi
mov byte [ecx + 6], 1
pop ebx
mov esp, ebp
pop ebp
ret