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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
mov eax, dword [ecx + 8]
push esi
push edi
mov edi, edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x34], edi
mov byte [esp + 0x17], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x4c], eax
call fcn.00480670
mov edx, dword [ebp + 0x14]
xorps xmm0, xmm0
mov esi, dword [edi + 0x14]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 8]
movlpd qword [esp + 0x50], xmm0
mov dword [esp + 0x24], 0
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x3c], ecx
mov ecx, dword [edi + 0xc]
mov edi, dword [edx + 0x40]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x30], edi
lea ecx, [ecx + ecx*2]
shl ecx, 4
add ecx, esi
mov dword [esp + 0x48], ecx
cmp esi, ecx
mov ecx, dword [esp + 0x54]
jae 0x4b302e
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], edx
lea esp, [esp]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x30]
mov edi, dword [esi]
mov eax, dword [eax]
or eax, dword [ecx + 4]
mov ecx, dword [esp + 0x1c]
jne 0x4b2ed9
test byte [esi + 0x14], 2
jne 0x4b2ed9
test byte [edi + 4], 1
jne 0x4b2ed9
mov ecx, dword [ebp + 8]
xorps xmm0, xmm0
movdqa xmmword [esp + 0x60], xmm0
mov edx, edi
movq qword [esp + 0x70], xmm0
mov dword [esp + 0x78], 0
mov eax, dword [ecx + 0x30]
lea ecx, [esp + 0x60]
mov byte [esp + 0x74], 3
mov dword [esp + 0x60], 0x480220
mov dword [esp + 0x64], 0x480330
mov dword [esp + 0x78], eax
call fcn.0047c2d0
cmp byte [esp + 0x74], 0
je 0x4b2ed1
mov edx, edi
mov edi, dword [esp + 0x18]
push 0
push 0
mov ecx, dword [edi]
call fcn.0047f3f0
mov edx, dword [esp + 0x28]
mov ecx, dword [edi]
push eax
call fcn.0047ef10
add esp, 0xc
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov edi, dword [ebp + 8]
mov eax, dword [esi + 8]
cmp eax, dword [edi + 0x30]
jne 0x4b301a
test byte [esi + 0x12], 2
je 0x4b301a
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
and ecx, dword [ebp + 0xc]
and eax, dword [ebp + 0x10]
or ecx, eax
jne 0x4b3016
mov ecx, dword [esi + 0xc]
test ecx, ecx
js 0x4b3016
mov eax, dword [edi + 0x10]
lea ecx, [ecx + ecx*2]
mov eax, dword [eax + 4]
mov al, byte [eax + ecx*8 + 0x15]
mov ecx, dword [esi]
mov byte [esp + 0x16], al
call fcn.0047e7f0
movsx eax, al
sub eax, 0x41
je 0x4b2f52
dec eax
je 0x4b2f40
xor eax, eax
cmp byte [esp + 0x16], 0x43
setge al
jmp 0x4b2f4a
xor eax, eax
cmp byte [esp + 0x16], 0x42
sete al
test eax, eax
je 0x4b3012
mov edx, dword [esi + 0xc]
xor edi, edi
cmp edx, 0x40
jl 0x4b2f66
mov dword [esp + 0x38], getsockname
jmp 0x4b2f7f
mov eax, edx
xor ecx, ecx
bts edi, eax
cmp eax, 0x20
cmovae ecx, edi
xor edi, ecx
cmp eax, 0x40
cmovae ecx, edi
mov dword [esp + 0x38], ecx
cmp byte [esp + 0x17], 0
jne 0x4b2fac
lea ecx, [edx + edx*2]
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 4]
push dword [eax + ecx*8]
push dword [edx]
push str.automatic_index_on__s__s_
push 0x11c
call fcn.0044eab0
add esp, 0x10
mov byte [esp + 0x17], 1
mov eax, dword [esp + 0x38]
mov ecx, edi
mov edx, dword [esp + 0x28]
and ecx, edx
and eax, dword [esp + 0x1c]
or ecx, eax
jne 0x4b3016
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x30]
inc eax
mov dword [esp + 0x50], eax
push eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
call fcn.004b66b0
add esp, 4
test eax, eax
jne 0x4b39a6
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
or edx, edi
mov eax, dword [eax + 0x30]
mov dword [esp + 0x28], edx
mov dword [eax + ecx*4], esi
mov ecx, dword [esp + 0x1c]
or ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], ecx
jmp 0x4b301a
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
add esi, 0x30
cmp esi, dword [esp + 0x48]
jb 0x4b2e40
mov eax, dword [ebp + 8]
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x24]
not ecx
mov word [edi + 0x28], si
not edx
mov word [edi + 0x18], si
or ecx, 0x80000000
mov dword [edi + 0x24], 0x4241
xor esi, esi
mov edi, dword [eax + 0x44]
and ecx, edi
and edx, dword [eax + 0x40]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x50], edi
mov dword [esp + 0x28], edx
movzx ecx, word [eax + 0x22]
mov eax, 0x3f
mov dword [esp + 0x44], ecx
cmp ax, cx
jge 0x4b307d
mov dword [esp + 0x38], eax
jmp 0x4b3088
movsx eax, cx
mov dword [esp + 0x38], eax
test eax, eax
jle 0x4b30c4
mov edi, dword [esp + 0x38]
lea esp, [esp]
xor edx, edx
xor ecx, ecx
mov eax, esi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esp + 0x28]
and ecx, dword [esp + 0x1c]
or edx, ecx
je 0x4b30b7
inc dword [esp + 0x24]
inc esi
cmp esi, edi
jl 0x4b3090
mov edi, dword [esp + 0x50]
mov ecx, dword [esp + 0x44]
and edi, 0x80000000
xor eax, eax
or eax, edi
je 0x4b30e2
movsx eax, cx
mov ecx, dword [esp + 0x24]
add ecx, 0xffffffc1
add ecx, eax
mov dword [esp + 0x24], ecx
jmp 0x4b30e6
mov ecx, dword [esp + 0x24]
lea eax, [ecx + 1]
movzx eax, ax
movsx edi, ax
mov dword [esp + 0x40], eax
lea ecx, [edi*4 + 7]
and ecx, 0xfffffff8
lea eax, [edi*4 + 9]
add eax, edi
mov dword [esp + 0x44], ecx
and eax, 0xfffffff8
add ecx, 0x38
add eax, ecx
cdq
push edx
mov dword [esp + 0x54], eax
push eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
call fcn.0044cb60
mov esi, eax
add esp, 8
mov dword [esp + 0x2c], esi
test esi, esi
je 0x4b39a6
push dword [esp + 0x50]
push 0
push esi
call fcn.004ce8d0
lea ecx, [esi + 0x38]
add esp, 0xc
mov dword [esi + 0x20], ecx
xorps xmm0, xmm0
add ecx, dword [esp + 0x44]
mov dword [esi + 8], ecx
movlpd qword [esp + 0x50], xmm0
lea eax, [ecx + 2]
lea eax, [eax + edi*2]
mov dword [esi + 4], eax
lea eax, [eax + edi*2]
mov edi, dword [esp + 0x34]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x40]
mov word [esi + 0x30], ax
dec eax
mov word [esi + 0x2e], ax
mov eax, dword [esp + 0x30]
mov dword [eax + 0x1c], esi
mov eax, dword [esp + 0x3c]
mov dword [esi], str.auto_index
mov dword [esi + 0xc], eax
xor esi, esi
mov edi, dword [edi + 0x14]
mov dword [esp + 0x34], edi
cmp edi, dword [esp + 0x48]
jae 0x4b32f7
mov eax, dword [esp + 0x54]
mov edx, dword [ebp + 8]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x40], eax
mov eax, dword [edi + 8]
cmp eax, dword [edx + 0x30]
jne 0x4b32e6
test byte [edi + 0x12], 2
je 0x4b32e6
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
and ecx, dword [ebp + 0xc]
and eax, dword [ebp + 0x10]
or ecx, eax
jne 0x4b32e6
mov ecx, dword [edi + 0xc]
test ecx, ecx
js 0x4b32e6
mov eax, dword [edx + 0x10]
lea ecx, [ecx + ecx*2]
mov eax, dword [eax + 4]
mov al, byte [eax + ecx*8 + 0x15]
mov ecx, dword [edi]
mov byte [esp + 0x17], al
call fcn.0047e7f0
movsx eax, al
sub eax, 0x41
je 0x4b322a
dec eax
je 0x4b3218
xor eax, eax
cmp byte [esp + 0x17], 0x43
setge al
jmp 0x4b3222
xor eax, eax
cmp byte [esp + 0x17], 0x42
sete al
test eax, eax
je 0x4b32e3
mov ecx, dword [edi + 0xc]
xor edi, edi
cmp ecx, 0x40
jl 0x4b323b
mov eax, connect
jmp 0x4b324e
xor eax, eax
bts edi, ecx
cmp ecx, 0x20
cmovae eax, edi
xor edi, eax
cmp ecx, 0x40
cmovae eax, edi
mov ecx, edi
mov dword [esp + 0x50], eax
and ecx, dword [esp + 0x40]
and eax, dword [esp + 0x44]
or ecx, eax
jne 0x4b32df
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
or dword [esp + 0x40], edi
mov eax, dword [esp + 0x44]
or eax, dword [esp + 0x50]
mov edi, dword [esp + 0x34]
mov edx, dword [edx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x44], eax
mov ax, word [edi + 0xc]
mov word [ecx + esi*2], ax
mov eax, dword [edx + 0x10]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x50], eax
test dword [edx + 4], 0x100
jne 0x4b32be
test eax, eax
je 0x4b32ad
test dword [eax + 4], 0x100
je 0x4b32ad
mov edx, eax
jmp 0x4b32be
mov ecx, dword [esp + 0x18]
call fcn.0047e660
test eax, eax
jne 0x4b32d0
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x18]
call fcn.0047e660
mov ecx, str.BINARY
test eax, eax
je 0x4b32d2
mov ecx, dword [eax]
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x20]
mov dword [eax + esi*4], ecx
inc esi
jmp 0x4b32e3
mov edi, dword [esp + 0x34]
mov edx, dword [ebp + 8]
add edi, 0x30
mov dword [esp + 0x34], edi
cmp edi, dword [esp + 0x48]
jb 0x4b31b4
xor edi, edi
cmp dword [esp + 0x38], edi
jle 0x4b3340
nop
xor edx, edx
xor ecx, ecx
mov eax, edi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esp + 0x28]
and ecx, dword [esp + 0x1c]
or edx, ecx
je 0x4b3339
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 4]
mov word [eax + esi*2], di
mov eax, dword [ecx + 0x20]
mov dword [eax + esi*4], str.BINARY
inc esi
inc edi
cmp edi, dword [esp + 0x38]
jl 0x4b3300
mov ecx, dword [ebp + 8]
xor eax, eax
mov edx, dword [esp + 0x2c]
mov ecx, dword [ecx + 0x44]
and ecx, 0x80000000
or eax, ecx
je 0x4b3382
mov edi, dword [esp + 0x3c]
mov eax, 0x3f
cmp ax, word [edi + 0x22]
jge 0x4b3382
mov ecx, eax
mov eax, dword [edx + 4]
mov word [eax + esi*2], cx
inc ecx
mov eax, dword [edx + 0x20]
mov dword [eax + esi*4], str.BINARY
inc esi
movsx eax, word [edi + 0x22]
cmp ecx, eax
jl 0x4b3367
mov eax, dword [edx + 4]
or ecx, 0xffffffff
mov edi, dword [esp + 0x4c]
mov word [eax + esi*2], cx
mov eax, dword [edx + 0x20]
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp + 0x14]
mov dword [eax + esi*4], str.BINARY
mov eax, dword [ecx + 0x44]
mov dword [edx + 8], eax
inc dword [ecx + 0x44]
mov ecx, dword [edi + 0x18]
mov eax, dword [edx + 8]
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0x20]
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], ecx
cmp dword [ecx + 0x54], eax
jg 0x4b343b
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x4b33cf
add eax, eax
jmp 0x4b33d4
mov eax, 0x33
mov edx, dword [edi + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ecx]
shl eax, 2
push 0
push eax
call fcn.0044cc00
mov esi, eax
add esp, 8
test esi, esi
je 0x4b3470
mov eax, dword [esp + 0x50]
mov eax, dword [eax]
test eax, eax
je 0x4b3417
cmp esi, dword [eax + 0x114]
jb 0x4b3417
cmp esi, dword [eax + 0x118]
jae 0x4b3417
movzx ecx, word [eax + 0xf8]
jmp 0x4b3423
push esi
call dword [0x52c5b0]
mov ecx, eax
add esp, 4
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x50]
shr edx, 4
mov dword [eax + 0x54], edx
mov eax, dword [esp + 0x48]
mov dword [edi + 4], esi
inc dword [edi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0x38
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x44]
mov dword [ecx + 0x10], 0
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x24]
inc eax
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x18]
mov ecx, eax
mov edx, dword [esp + 0x2c]
mov esi, dword [eax + 8]
call fcn.0048e470
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov dword [esp + 0x50], eax
test edx, edx
je 0x4b34d2
cmp byte [ecx + 0x41], 0
jne 0x4b34d2
mov edx, dword [esi + 0x20]
dec edx
lea eax, [edx + edx*4]
mov edx, dword [esi + 4]
push dword [edx + eax*4 + 0x10]
lea esi, [edx + eax*4]
movsx edx, byte [esi + 1]
call fcn.0046bdb0
mov eax, dword [esp + 0x54]
add esp, 4
mov dword [esi + 0x10], 0
test eax, eax
jne 0x4b34c9
mov dword [esi + 0x10], eax
mov byte [esi + 1], al
jmp 0x4b34e0
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xfa
jmp 0x4b34e0
push eax
mov edx, 0xfffffffa
call fcn.0046bdb0
add esp, 4
mov eax, dword [esp + 0x18]
mov edx, dword [ebp + 0x14]
inc dword [eax + 0x64]
mov ecx, dword [edi + 0x18]
mov eax, dword [edx + 4]
mov edx, dword [edi + 0x20]
mov dword [esp + 0x48], eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x50], ecx
cmp dword [ecx + 0x54], edx
jg 0x4b357b
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x4b350f
add eax, eax
jmp 0x4b3514
mov eax, 0x33
mov edx, dword [edi + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ecx]
shl eax, 2
push 0
push eax
call fcn.0044cc00
mov esi, eax
add esp, 8
test esi, esi
je 0x4b3625
mov eax, dword [esp + 0x50]
mov eax, dword [eax]
test eax, eax
je 0x4b3557
cmp esi, dword [eax + 0x114]
jb 0x4b3557
cmp esi, dword [eax + 0x118]
jae 0x4b3557
movzx ecx, word [eax + 0xf8]
jmp 0x4b3563
push esi
call dword [0x52c5b0]
mov ecx, eax
add esp, 4
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x50]
shr edx, 4
mov dword [eax + 0x54], edx
mov edx, dword [esp + 0x3c]
mov dword [edi + 4], esi
mov eax, dword [edi + 4]
lea ecx, [edx + edx*4]
inc dword [edi + 0x20]
mov edx, dword [esp + 0x48]
mov word [eax + ecx*4], 0x6c
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [esp + 0x20]
test esi, esi
je 0x4b36f7
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x58], ecx
mov edx, dword [ecx + 0x6c]
mov dword [esp + 0x48], edx
lea eax, [edx + 1]
mov dword [ecx + 0x6c], eax
lea eax, [edx - 1]
test edx, eax
jne 0x4b36c4
mov edi, dword [ecx + 0x70]
lea eax, [edx*8 + 4]
mov esi, dword [ecx]
mov edx, edi
push 0
push eax
mov ecx, esi
call fcn.0044cc00
mov ecx, eax
add esp, 8
mov dword [esp + 0x50], ecx
test ecx, ecx
jne 0x4b36ad
test edi, edi
je 0x4b36ad
test esi, esi
je 0x4b3655
cmp dword [esi + 0x208], eax
je 0x4b362f
mov edx, edi
mov ecx, esi
call fcn.0044c8a0
jmp 0x4b36ad
mov dword [esp + 0x3c], 1
jmp 0x4b35af
cmp edi, dword [esi + 0x114]
jb 0x4b3655
cmp edi, dword [esi + 0x118]
jae 0x4b3655
mov eax, dword [esi + 0x110]
mov dword [edi], eax
dec dword [esi + 0xfc]
mov dword [esi + 0x110], edi
jmp 0x4b36ad
cmp dword [0x52c580], 0
je 0x4b36a3
mov eax, dword [0x53afe8]
test eax, eax
je 0x4b3671
push eax
call dword [0x52c5d4]
add esp, 4
push edi
call dword [0x52c5b0]
sub dword [0x53b028], eax
add esp, 4
dec dword [0x53b04c]
push edi
call dword [0x52c5a8]
mov eax, dword [0x53afe8]
add esp, 4
test eax, eax
je 0x4b36ad
push eax
call dword [0x52c5dc]
jmp 0x4b36aa
push edi
call dword [0x52c5a8]
add esp, 4
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x20]
mov dword [ecx + 0x70], eax
mov eax, dword [ecx + 0x70]
test eax, eax
je 0x4b36d2
mov dword [eax + edx*4], 0xffffffff
mov ecx, dword [esp + 0x18]
or eax, 0xffffffff
sub eax, edx
mov edx, esi
push 0x10
push eax
mov dword [esp + 0x60], eax
call fcn.00483860
mov eax, dword [esp + 0x38]
add esp, 8
or dword [eax + 0x24], 0x20000
mov ecx, dword [esp + 0x18]
mov al, byte [ecx + 0x13]
test al, al
jne 0x4b370a
inc dword [ecx + 0x48]
mov esi, dword [ecx + 0x48]
jmp 0x4b3716
dec al
mov byte [ecx + 0x13], al
movzx eax, al
mov esi, dword [ecx + eax*4 + 0x18]
mov eax, dword [ebp + 0x14]
mov edx, dword [esp + 0x2c]
push 0
push 0
push 0
push 0
push esi
push dword [eax + 4]
call fcn.00490550
mov eax, dword [ebp + 0x14]
add esp, 0x18
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x50], ecx
mov eax, dword [eax + 8]
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x20]
mov dword [esp + 0x44], eax
cmp dword [ecx + 0x54], eax
jg 0x4b37cb
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x4b3759
add eax, eax
jmp 0x4b375e
mov eax, 0x33
mov edx, dword [edi + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ecx]
shl eax, 2
push 0
push eax
call fcn.0044cc00
add esp, 8
mov dword [esp + 0x48], eax
test eax, eax
je 0x4b37fb
mov ecx, dword [esp + 0x50]
mov ecx, dword [ecx]
test ecx, ecx
je 0x4b37a3
cmp eax, dword [ecx + 0x114]
jb 0x4b37a3
cmp eax, dword [ecx + 0x118]
jae 0x4b37a3
movzx ecx, word [ecx + 0xf8]
jmp 0x4b37af
push eax
call dword [0x52c5b0]
mov ecx, eax
add esp, 4
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x50]
shr edx, 4
mov dword [eax + 0x54], edx
mov eax, dword [esp + 0x48]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x44]
inc dword [edi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x40]
mov word [eax + ecx*4], 0x6e
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4b380d
mov eax, dword [edi + 0x20]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 0x10
cmp dword [esp + 0x20], 0
je 0x4b3840
mov edx, dword [edi + 0x18]
or eax, 0xffffffff
sub eax, dword [esp + 0x58]
mov dword [esp + 0x58], eax
js 0x4b3839
mov ecx, dword [edx + 0x70]
test ecx, ecx
je 0x4b3839
mov eax, dword [edi + 0x20]
mov edi, dword [esp + 0x58]
mov dword [ecx + edi*4], eax
mov edi, dword [esp + 0x4c]
mov eax, dword [edi + 0x20]
dec eax
mov dword [edx + 0x58], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x58], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0x20]
mov dword [esp + 0x4c], eax
cmp dword [ecx + 0x54], eax
jg 0x4b38de
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x4b386c
add eax, eax
jmp 0x4b3871
mov eax, 0x33
mov edx, dword [edi + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ecx]
shl eax, 2
push 0
push eax
call fcn.0044cc00
add esp, 8
mov dword [esp + 0x50], eax
test eax, eax
je 0x4b3916
mov ecx, dword [esp + 0x58]
mov ecx, dword [ecx]
test ecx, ecx
je 0x4b38b6
cmp eax, dword [ecx + 0x114]
jb 0x4b38b6
cmp eax, dword [ecx + 0x118]
jae 0x4b38b6
movzx ecx, word [ecx + 0xf8]
jmp 0x4b38c2
push eax
call dword [0x52c5b0]
mov ecx, eax
add esp, 4
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x58]
shr edx, 4
mov dword [eax + 0x54], edx
mov eax, dword [esp + 0x50]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x4c]
inc dword [edi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x3c]
mov word [eax + ecx*4], 9
mov byte [eax + ecx*4 + 3], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x48]
mov dword [ecx + 0xc], 0
mov dword [ecx + 4], eax
lea eax, [edx + 1]
mov dword [ecx + 8], eax
mov dword [ecx + 0x10], 0
jmp 0x4b391a
mov edx, dword [esp + 0x3c]
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4b392c
mov eax, dword [edi + 0x20]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 3
cmp dword [edi + 0x20], edx
jbe 0x4b393e
mov eax, dword [edi + 4]
lea ecx, [edx + edx*4]
mov edx, dword [edi + 0x20]
mov dword [eax + ecx*4 + 8], edx
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
dec ecx
mov edx, dword [esp + 0x18]
mov dword [eax + 0x58], ecx
test esi, esi
je 0x4b3980
mov al, byte [edx + 0x13]
mov byte [esp + 0x17], al
cmp al, 8
jae 0x4b3980
xor ecx, ecx
lea eax, [edx + 0x74]
cmp dword [eax + 0xc], esi
je 0x4b397c
inc ecx
add eax, 0x14
cmp ecx, 0xa
jl 0x4b3960
movzx eax, byte [esp + 0x17]
mov dword [edx + eax*4 + 0x18], esi
inc byte [edx + 0x13]
jmp 0x4b3980
mov byte [eax + 6], 1
mov ecx, edx
call fcn.00481b00
mov edx, dword [edi + 0x20]
mov eax, dword [esp + 0x5c]
cmp edx, eax
jbe 0x4b399c
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 8], edx
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
dec ecx
mov dword [eax + 0x58], ecx
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
mov esi, dword [eax]
test edi, edi
je 0x4b3b5f
test dword [edi + 4], 0x4000
jne 0x4b3aad
mov edx, dword [edi + 0xc]
mov ecx, esi
call fcn.0047f2c0
mov edx, dword [edi + 0x10]
mov ecx, esi
call fcn.0047f2c0
test dword [edi + 4], 0x10000
je 0x4b3a8e
mov edi, dword [edi + 8]
test edi, edi
je 0x4b3a8a
test esi, esi
je 0x4b3a32
cmp dword [esi + 0x208], 0
je 0x4b3a0c
mov edx, edi
mov ecx, esi
call fcn.0044c8a0
jmp 0x4b3a8a
cmp edi, dword [esi + 0x114]
jb 0x4b3a32
cmp edi, dword [esi + 0x118]
jae 0x4b3a32
mov eax, dword [esi + 0x110]
mov dword [edi], eax
dec dword [esi + 0xfc]
mov dword [esi + 0x110], edi
jmp 0x4b3a8a
cmp dword [0x52c580], 0
je 0x4b3a80
mov eax, dword [0x53afe8]
test eax, eax
je 0x4b3a4e
push eax
call dword [0x52c5d4]
add esp, 4
push edi
call dword [0x52c5b0]
sub dword [0x53b028], eax
add esp, 4
dec dword [0x53b04c]
push edi
call dword [0x52c5a8]
mov eax, dword [0x53afe8]
add esp, 4
test eax, eax
je 0x4b3a8a
push eax
call dword [0x52c5dc]
jmp 0x4b3a87
push edi
call dword [0x52c5a8]
add esp, 4
mov edi, dword [esp + 0x20]
test dword [edi + 4], 0x800
mov ecx, esi
mov edx, dword [edi + 0x14]
je 0x4b3aa8
push 1
call fcn.0049f8a0
add esp, 4
jmp 0x4b3aad
call fcn.00480060
test dword [edi + 4], 0x8000
jne 0x4b3b5f
test esi, esi
je 0x4b3b00
cmp dword [esi + 0x208], 0
je 0x4b3ad6
mov edx, edi
mov ecx, esi
call fcn.0044c8a0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp edi, dword [esi + 0x114]
jb 0x4b3b00
cmp edi, dword [esi + 0x118]
jae 0x4b3b00
mov eax, dword [esi + 0x110]
mov dword [edi], eax
dec dword [esi + 0xfc]
mov dword [esi + 0x110], edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [0x52c580], 0
je 0x4b3b55
mov eax, dword [0x53afe8]
test eax, eax
je 0x4b3b1c
push eax
call dword [0x52c5d4]
add esp, 4
push edi
call dword [0x52c5b0]
sub dword [0x53b028], eax
add esp, 4
dec dword [0x53b04c]
push edi
call dword [0x52c5a8]
mov eax, dword [0x53afe8]
add esp, 4
test eax, eax
je 0x4b3b5f
push eax
call dword [0x52c5dc]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push edi
call dword [0x52c5a8]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret