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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
push edi
push edi
push edi
push 0x11
push eax
mov byte [esp + 0x23], 0
mov dword [esp + 0x30], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x4c], eax
call fcn.00493fe0
mov ecx, dword [esi + 0x10]
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x24], edi
lea edi, [eax + eax*2]
shl edi, 4
mov dword [esp + 0x44], ecx
mov ecx, dword [edx + 0x40]
add edi, ebx
xor edx, edx
xor eax, eax
add esp, 0x14
mov dword [esp + 0x34], edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
cmp ebx, edi
jae 0x4ddea4
lea esp, [esp]
mov edx, dword [ecx]
or edx, dword [ecx + 4]
mov eax, dword [ebx]
mov dword [esp + 0x2c], eax
jne 0x4ddd38
test byte [ebx + 0xa], 2
jne 0x4ddd38
test byte [eax + 4], 1
jne 0x4ddd38
mov ecx, dword [esp + 0x2c]
mov eax, dword [esi + 0x2c]
push ecx
lea edx, [esp + 0x60]
push edx
mov byte [esp + 0x78], 3
mov dword [esp + 0x68], 0x4a8ee0
mov dword [esp + 0x6c], 0x4a8e90
mov dword [esp + 0x7c], eax
call fcn.004a4a70
add esp, 8
cmp byte [esp + 0x70], 0
je 0x4ddd38
mov ecx, dword [esp + 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push 0
push 0
push ecx
push eax
call fcn.004a81b0
mov edx, dword [esp + 0x2c]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
push edx
call fcn.004a7cd0
add esp, 0x14
mov dword [esp + 0x1c], eax
mov edx, dword [ebx + 0x14]
cmp edx, dword [esi + 0x2c]
jne 0x4dde8a
movzx eax, word [ebx + 0xc]
test al, 0x82
je 0x4dde8a
mov ecx, dword [ebp + 0x10]
test byte [ecx + 0x24], 8
je 0x4ddd69
mov edx, dword [ebx]
test byte [edx + 4], 1
jne 0x4ddd69
test al, al
js 0x4dde8a
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x24]
and eax, dword [ebp + 0x14]
and ecx, dword [ebp + 0x18]
or eax, ecx
jne 0x4dde8a
mov eax, dword [ebx + 0x1c]
test eax, eax
jl 0x4dde8a
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x10]
mov ecx, dword [edx + 4]
mov esi, dword [ebx]
shl eax, 4
mov dl, byte [ecx + eax + 0xd]
mov byte [esp + 0xe], dl
call fcn.004a7130
movsx eax, al
sub eax, 0x41
je 0x4dddce
sub eax, 1
je 0x4dddbc
xor eax, eax
cmp byte [esp + 0xe], 0x43
setge al
jmp 0x4dddc6
xor eax, eax
cmp byte [esp + 0xe], 0x42
sete al
test eax, eax
je 0x4dde8a
mov esi, dword [ebx + 0x1c]
cmp esi, 0x40
jl 0x4ddde8
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], SysReAllocString
jmp 0x4dddfe
mov eax, 1
xor edx, edx
mov ecx, esi
call fcn.004f07e0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
cmp byte [esp + 0xf], 0
jne 0x4dde2d
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
shl esi, 4
mov edx, dword [esi + ecx]
push edx
push eax
push str.automatic_index_on__s__s_
push 0x11c
call fcn.00477520
add esp, 0x10
mov byte [esp + 0xf], 1
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
and eax, dword [esp + 0x48]
and ecx, dword [esp + 0x4c]
or eax, ecx
jne 0x4dde8a
mov ecx, dword [ebp + 8]
mov esi, dword [esp + 0x10]
mov edx, dword [ecx]
mov edi, dword [esp + 0x18]
lea eax, [esi + 1]
push edx
mov dword [esp + 0x30], eax
call fcn.004dec80
add esp, 4
test eax, eax
jne 0x4de7c6
mov edx, dword [esp + 0x2c]
mov eax, edi
mov ecx, dword [eax + 0x30]
mov eax, dword [esp + 0x20]
or dword [esp + 0x48], eax
mov edi, dword [esp + 0x34]
mov dword [ecx + esi*4], ebx
mov ecx, dword [esp + 0x24]
or dword [esp + 0x4c], ecx
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x18]
mov esi, dword [ebp + 0x10]
add ebx, 0x30
cmp ebx, edi
jb 0x4ddcc0
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x10]
mov word [ecx + 0x28], di
mov word [ecx + 0x18], di
mov dword [ecx + 0x24], 0x4241
mov ecx, dword [esi + 0x38]
mov esi, dword [esi + 0x3c]
not eax
or eax, 0x80000000
not edx
and eax, esi
mov edi, edx
mov edx, dword [esp + 0x30]
and edi, ecx
mov dword [esp + 0x54], eax
movzx eax, word [edx + 0x2a]
mov ecx, 0x3f
cmp cx, ax
mov dword [esp + 0x50], edi
mov dword [esp + 0x2c], eax
jge 0x4ddef0
mov dword [esp + 0x20], ecx
jmp 0x4ddef7
movsx edx, ax
mov dword [esp + 0x20], edx
xor ebx, ebx
cmp dword [esp + 0x20], ebx
jle 0x4ddf23
nop
mov eax, 1
xor edx, edx
mov ecx, ebx
call fcn.004f07e0
and edx, dword [esp + 0x54]
and eax, edi
or eax, edx
je 0x4ddf1c
inc dword [esp + 0x10]
inc ebx
cmp ebx, dword [esp + 0x20]
jl 0x4ddf00
and esi, 0x80000000
xor eax, eax
or eax, esi
je 0x4ddf40
movsx eax, word [esp + 0x2c]
mov ecx, dword [esp + 0x10]
lea edx, [ecx + eax - 0x3f]
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ebp + 8]
inc ecx
push ecx
mov ecx, dword [eax]
xor edx, edx
call fcn.004b6800
mov ebx, eax
add esp, 8
mov dword [esp + 0x2c], ebx
test ebx, ebx
je 0x4de7c6
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
mov eax, dword [ebp + 0xc]
mov dword [ecx + 0x20], ebx
xor esi, esi
mov dword [ebx], str.auto_index
mov dword [ebx + 0xc], edx
mov edi, dword [eax + 0x14]
mov dword [esp + 0x14], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
cmp edi, dword [esp + 0x34]
jae 0x4de13c
lea ebx, [ebx]
mov ecx, dword [edi + 0x14]
mov edx, dword [ebp + 0x10]
cmp ecx, dword [edx + 0x2c]
jne 0x4de129
movzx eax, word [edi + 0xc]
test al, 0x82
je 0x4de129
mov ecx, edx
test byte [ecx + 0x24], 8
je 0x4ddfd3
mov edx, dword [edi]
test byte [edx + 4], 1
jne 0x4ddfd3
test al, al
js 0x4de129
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x24]
and eax, dword [ebp + 0x14]
and ecx, dword [ebp + 0x18]
or eax, ecx
jne 0x4de129
mov eax, dword [edi + 0x1c]
test eax, eax
jl 0x4de129
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x10]
mov ecx, dword [edx + 4]
mov esi, dword [edi]
shl eax, 4
mov dl, byte [ecx + eax + 0xd]
mov eax, dword [esi + 0xc]
mov byte [esp + 0xf], dl
call fcn.004a6db0
mov bl, al
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4de033
call fcn.004a6db0
test al, al
je 0x4de046
test bl, bl
je 0x4de04a
cmp al, 0x43
jge 0x4de02f
cmp bl, 0x43
jl 0x4de052
mov bl, 0x43
jmp 0x4de054
test dword [esi + 4], 0x800
je 0x4de04e
mov eax, dword [esi + 0x14]
mov ecx, dword [eax]
mov eax, dword [ecx + 4]
jmp 0x4de019
test bl, bl
je 0x4de052
add bl, al
jmp 0x4de054
test bl, bl
jne 0x4de054
mov bl, 0x41
movsx eax, bl
sub eax, 0x41
je 0x4de07f
sub eax, 1
je 0x4de06d
xor eax, eax
cmp byte [esp + 0xf], 0x43
setge al
jmp 0x4de077
xor eax, eax
cmp byte [esp + 0xf], 0x42
sete al
test eax, eax
je 0x4de129
mov ecx, dword [edi + 0x1c]
cmp ecx, 0x40
jl 0x4de090
xor eax, eax
mov edx, SysReAllocString
jmp 0x4de09c
mov eax, 1
xor edx, edx
call fcn.004f07e0
mov ecx, eax
and ecx, dword [esp + 0x48]
mov esi, edx
and esi, dword [esp + 0x4c]
or ecx, esi
jne 0x4de129
or dword [esp + 0x4c], edx
or dword [esp + 0x48], eax
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 4]
mov ecx, dword [edi]
mov esi, dword [esp + 0x14]
mov dx, word [edi + 0x1c]
mov word [eax + esi*2], dx
mov eax, dword [ecx + 0xc]
mov esi, dword [ecx + 0x10]
mov ecx, 0x100
test dword [eax + 4], ecx
je 0x4de0df
mov ecx, dword [ebp + 8]
push ecx
jmp 0x4de101
test esi, esi
je 0x4de0ee
test dword [esi + 4], ecx
je 0x4de0ee
mov edx, dword [ebp + 8]
push edx
jmp 0x4de0ff
mov ebx, dword [ebp + 8]
push ebx
call fcn.004a6f40
add esp, 4
test eax, eax
jne 0x4de10d
push ebx
mov eax, esi
call fcn.004a6f40
add esp, 4
test eax, eax
je 0x4de111
mov eax, dword [eax]
jmp 0x4de116
mov eax, 0x50a8a8
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x20]
mov ecx, dword [esp + 0x14]
mov dword [edx + ecx*4], eax
inc ecx
mov dword [esp + 0x14], ecx
add edi, 0x30
cmp edi, dword [esp + 0x34]
jb 0x4ddfa0
mov ebx, dword [esp + 0x2c]
xor esi, esi
cmp dword [esp + 0x20], esi
jle 0x4de17d
mov edi, dword [esp + 0x14]
mov eax, 1
xor edx, edx
mov ecx, esi
call fcn.004f07e0
and eax, dword [esp + 0x50]
and edx, dword [esp + 0x54]
or eax, edx
je 0x4de172
mov eax, dword [ebx + 4]
mov word [eax + edi*2], si
mov ecx, dword [ebx + 0x20]
mov dword [ecx + edi*4], 0x50a8a8
inc edi
inc esi
cmp esi, dword [esp + 0x20]
jl 0x4de146
mov dword [esp + 0x14], edi
mov edx, dword [ebp + 0x10]
mov ecx, dword [edx + 0x3c]
and ecx, 0x80000000
xor eax, eax
or eax, ecx
je 0x4de1c5
mov edx, dword [esp + 0x30]
mov eax, 0x3f
mov ecx, eax
cmp cx, word [edx + 0x2a]
jge 0x4de1c5
mov ecx, dword [esp + 0x14]
mov esi, dword [ebx + 4]
mov word [esi + ecx*2], ax
mov esi, dword [ebx + 0x20]
mov dword [esi + ecx*4], 0x50a8a8
movsx esi, word [edx + 0x2a]
inc eax
inc ecx
cmp eax, esi
jl 0x4de1a4
mov dword [esp + 0x14], ecx
jmp 0x4de1c9
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx + 4]
mov edi, dword [ebp + 0x1c]
mov esi, dword [esp + 0x38]
or eax, 0xffffffff
mov word [edx + ecx*2], ax
mov edx, dword [ebx + 0x20]
mov eax, dword [ebp + 8]
mov dword [edx + ecx*4], 0x50a8a8
mov ecx, dword [eax + 0x28]
mov dword [edi + 8], ecx
inc dword [eax + 0x28]
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x88]
mov ebx, dword [esi + 0xc]
mov edx, dword [edi + 8]
inc ecx
cmp dword [ebx + 0x30], eax
jg 0x4de218
push 0
push ecx
push edx
push 0x70
mov eax, esi
call fcn.00493fa0
add esp, 0x10
jmp 0x4de244
lea ebx, [eax + 1]
mov dword [esi + 0x88], ebx
mov ebx, dword [esi + 0x58]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*4]
xor ebx, ebx
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x70
mov word [eax + 2], bx
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov ebx, dword [esp + 0x2c]
push eax
mov dword [esp + 0x38], ecx
call fcn.004b8980
add esp, 4
test eax, eax
je 0x4de28e
mov edx, dword [esp + 0x34]
mov ecx, dword [edx]
cmp byte [ecx + 0x49], 0
je 0x4de277
mov edx, 0xfffffff7
call fcn.004949a0
jmp 0x4de28e
mov ecx, dword [edx + 0x88]
mov edx, dword [edx + 0x58]
lea ecx, [ecx + ecx*4]
lea ecx, [edx + ecx*4 - 0x14]
mov byte [ecx + 1], 0xf7
mov dword [ecx + 0x10], eax
mov ecx, dword [ebp + 0xc]
movzx eax, byte [edi + 0x2c]
mov edx, dword [ecx]
mov ecx, dword [edx + 4]
lea eax, [eax + eax*8]
test byte [ecx + eax*8 + 0x30], 0x10
lea edx, [ecx + eax*8 + 8]
mov ecx, dword [esi + 0x88]
mov eax, dword [esi + 0xc]
mov dword [esp + 0x30], edx
je 0x4de38c
cmp dword [eax + 0x30], ecx
mov edi, dword [edx + 0x1c]
jg 0x4de2d8
xor ebx, ebx
push ebx
push ebx
push ebx
push 0x46
mov eax, esi
call fcn.00493fa0
mov edx, dword [esp + 0x40]
add esp, 0x10
jmp 0x4de304
mov ebx, dword [esi + 0x58]
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea eax, [ecx + ecx*4]
lea eax, [ebx + eax*4]
xor ebx, ebx
mov byte [eax], 0x46
mov word [eax + 2], bx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, ecx
mov ecx, dword [edx + 0x18]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x88]
cmp dword [edx + 0x30], eax
jg 0x4de32a
push ecx
push ebx
push edi
push 0xd
mov eax, esi
call fcn.00493fa0
add esp, 0x10
jmp 0x4de354
lea edx, [eax + 1]
mov dword [esi + 0x88], edx
mov edx, dword [esi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov byte [eax], 0xd
mov word [eax + 2], dx
mov dword [eax + 4], edi
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], dl
mov ecx, dword [esi + 0x88]
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x30], ecx
jg 0x4de373
push ebx
push ebx
push edi
push 0xe
mov eax, esi
call fcn.00493fa0
add esp, 0x10
jmp 0x4de3d5
lea edx, [ecx + 1]
mov dword [esi + 0x88], edx
mov edx, dword [esi + 0x58]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
mov byte [eax], 0xe
xor edx, edx
jmp 0x4de3c0
cmp dword [eax + 0x30], ecx
mov edi, dword [edi + 4]
jg 0x4de3a7
xor ebx, ebx
push ebx
push ebx
push edi
push 0x24
mov eax, esi
call fcn.00493fa0
add esp, 0x10
jmp 0x4de3d5
lea edx, [ecx + 1]
mov dword [esi + 0x88], edx
mov edx, dword [esi + 0x58]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
xor edx, edx
mov byte [eax], 0x24
xor ebx, ebx
mov word [eax + 2], dx
mov dword [eax + 4], edi
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], dl
mov eax, ecx
mov dword [esp + 0x34], eax
cmp dword [esp + 0x1c], ebx
je 0x4de539
mov esi, dword [esi + 0xc]
mov eax, dword [esi + 0x3c]
lea edx, [eax - 1]
lea ecx, [eax + 1]
mov dword [esp + 0x20], esi
mov dword [esp + 0x10], eax
mov dword [esi + 0x3c], ecx
test eax, edx
jne 0x4de501
mov ebx, dword [esi + 0x40]
mov esi, dword [esi]
xor ecx, ecx
lea edi, [eax*8 + 4]
test ebx, ebx
jne 0x4de41f
push ecx
push edi
mov eax, esi
call fcn.004754b0
jmp 0x4de44e
cmp ebx, dword [esi + 0x128]
jb 0x4de445
cmp ebx, dword [esi + 0x12c]
jae 0x4de445
movzx eax, word [esi + 0x10c]
cdq
cmp ecx, edx
ja 0x4de445
jb 0x4de441
cmp edi, eax
ja 0x4de445
mov edi, ebx
jmp 0x4de453
push ecx
push edi
mov eax, ebx
call fcn.004755c0
mov edi, eax
add esp, 8
test edi, edi
jne 0x4de4f2
test ebx, ebx
je 0x4de4f2
test esi, esi
je 0x4de49a
cmp dword [esi + 0x1d8], edi
je 0x4de47a
mov eax, ebx
mov ecx, esi
call fcn.00475120
jmp 0x4de4f2
cmp ebx, dword [esi + 0x128]
jb 0x4de49a
cmp ebx, dword [esi + 0x12c]
jae 0x4de49a
mov eax, dword [esi + 0x124]
mov dword [ebx], eax
mov dword [esi + 0x124], ebx
jmp 0x4de4f2
cmp dword [0x52e0e0], 0
je 0x4de4e8
mov eax, dword [0x53a950]
test eax, eax
je 0x4de4b6
push eax
call dword [0x52e13c]
add esp, 4
push ebx
call dword [0x52e118]
sub dword [0x53a8e8], eax
dec dword [0x53a90c]
add esp, 4
push ebx
call dword [0x52e110]
mov eax, dword [0x53a950]
add esp, 4
test eax, eax
je 0x4de4f2
push eax
call dword [0x52e144]
jmp 0x4de4ef
push ebx
call dword [0x52e110]
add esp, 4
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
mov dword [ecx + 0x40], edi
xor ebx, ebx
mov esi, ecx
mov esi, dword [esi + 0x40]
cmp esi, ebx
je 0x4de50f
mov dword [esi + eax*4], 0xffffffff
mov edx, dword [esp + 0x1c]
or eax, 0xffffffff
sub eax, dword [esp + 0x10]
push 0x10
push eax
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 8]
push edx
push eax
call fcn.004ace40
mov eax, dword [esp + 0x28]
add esp, 0x10
or dword [eax + 0x24], 0x20000
mov ecx, dword [ebp + 8]
mov al, byte [ecx + 0x13]
test al, al
jne 0x4de551
mov eax, ecx
inc dword [eax + 0x2c]
mov ebx, dword [eax + 0x2c]
mov dword [esp + 0x20], ebx
jmp 0x4de566
dec al
movzx edx, al
mov byte [ecx + 0x13], al
mov eax, dword [ecx + edx*4 + 0x90]
mov dword [esp + 0x20], eax
mov ebx, eax
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx + 4]
mov eax, dword [esp + 0x2c]
mov edi, dword [ebp + 8]
push 0
push 0
push 0
push ebx
push edx
push eax
xor eax, eax
call fcn.004ba530
mov esi, dword [esp + 0x50]
mov edx, dword [esi + 0xc]
mov edi, dword [ebp + 0x1c]
mov ecx, dword [edi + 8]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x88]
add esp, 0x18
cmp dword [edx + 0x30], eax
jg 0x4de5b7
push 0
push ebx
push ecx
push 0x85
mov eax, esi
call fcn.00493fa0
add esp, 0x10
jmp 0x4de5e3
lea edx, [eax + 1]
mov dword [esi + 0x88], edx
mov edx, dword [esi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x85
mov word [eax + 2], dx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, dword [esi + 0x88]
test eax, eax
jle 0x4de5fd
mov ecx, dword [esi + 0x58]
lea eax, [eax + eax*4]
mov edx, 0x10
mov word [ecx + eax*4 - 0x12], dx
cmp dword [esp + 0x1c], 0
je 0x4de623
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x40]
test eax, eax
je 0x4de623
mov ecx, dword [esp + 0x3c]
lea edx, [ecx*4 + 4]
mov ecx, dword [esi + 0x88]
sub eax, edx
mov dword [eax], ecx
mov edx, dword [esp + 0x30]
test byte [edx + 0x28], 0x10
je 0x4de6e3
mov eax, dword [esp + 0x40]
test eax, eax
jge 0x4de640
mov eax, dword [esi + 0x88]
dec eax
mov ecx, dword [esi]
cmp byte [ecx + 0x49], 0
je 0x4de64f
mov eax, 0x539e70
jmp 0x4de658
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x58]
lea eax, [eax + edx*4]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x34]
add edx, ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], edx
mov eax, dword [edi + 4]
mov edi, dword [ecx + 0x20]
push 1
push eax
mov eax, dword [ebp + 8]
mov edx, ebx
call fcn.004ddb30
mov eax, dword [esi + 0x88]
mov edx, dword [esi + 0xc]
add esp, 8
cmp dword [edx + 0x30], eax
jg 0x4de6af
push 0
push ebx
push 0
push 0xb
mov eax, esi
call fcn.00493fa0
mov eax, dword [esp + 0x40]
add esp, 0x10
and dword [eax + 0x28], 0xffffffef
jmp 0x4de739
lea ecx, [eax + 1]
mov dword [esi + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x58]
lea eax, [eax + edx*4]
xor ecx, ecx
mov byte [eax], 0xb
mov word [eax + 2], cx
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, dword [esp + 0x30]
and dword [eax + 0x28], 0xffffffef
jmp 0x4de739
mov edx, dword [edi + 4]
mov eax, dword [esi + 0x88]
mov edi, dword [esi + 0xc]
cmp dword [edi + 0x30], eax
mov ebx, dword [esp + 0x34]
lea ecx, [ebx + 1]
jg 0x4de70d
push 0
push ecx
push edx
push 5
mov eax, esi
call fcn.00493fa0
add esp, 0x10
jmp 0x4de739
lea edi, [eax + 1]
mov dword [esi + 0x88], edi
mov edi, dword [esi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edi + eax*4]
xor edi, edi
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 5
mov word [eax + 2], di
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, dword [esi + 0x88]
mov edx, dword [ebp + 8]
test eax, eax
jle 0x4de756
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x58]
mov edi, 3
mov word [eax + ecx*4 - 0x12], di
mov ecx, dword [esi + 0x88]
test ebx, ebx
jge 0x4de763
lea ebx, [ecx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x49], 0
je 0x4de772
mov eax, 0x539e70
jmp 0x4de77b
mov edi, dword [esi + 0x58]
lea eax, [ebx + ebx*4]
lea eax, [edi + eax*4]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4de79a
mov al, byte [edx + 0x13]
cmp al, 8
jae 0x4de79a
movzx eax, al
mov dword [edx + eax*4 + 0x90], ecx
inc byte [edx + 0x13]
mov eax, dword [esp + 0x44]
mov ecx, dword [esi + 0x88]
test eax, eax
jge 0x4de7ab
lea eax, [ecx - 1]
mov edx, dword [esi]
cmp byte [edx + 0x49], 0
je 0x4de7ba
mov eax, 0x539e70
jmp 0x4de7c3
mov edx, dword [esi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4de7dd
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.004a7fb0
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret