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

Disassembly:
mov eax, 0x2ec
call fcn.0055eea0
mov eax, dword [0x615720]
xor eax, esp
mov dword [esp + 0x2e8], eax
push ebp
push esi
mov esi, dword [esp + 0x2f8]
mov eax, dword [esi + 8]
mov edx, dword [eax + 0x30]
push edi
lea ecx, [esp + 0x30]
push ecx
push 0x800
push 0x10
push 0x2191
xor edi, edi
push 0x2190
push esi
mov dword [esp + 0x34], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x40], edi
call edx
add esp, 0x18
mov ebp, eax
cmp dword [esp + 0x30], edi
je 0x4c45e9
mov eax, dword [esi + 0x40]
mov edx, dword [esi + 0x58]
mov dword [esp + 0xc], eax
mov ecx, dword [edx + 0x344]
push ebx
mov ebx, dword [ecx + 0xc]
test bl, 1
je 0x4c3b78
cmp dword [edx + 0x370], edi
je 0x4c38fc
mov ecx, dword [esi + 0x98]
cmp ecx, edi
je 0x4c38e8
mov ecx, dword [ecx + 0x18]
cmp ecx, edi
jne 0x4c3921
push 0x8b5
push str.._ssl_s3_srvr.c
push 0xad
jmp 0x4c4589
mov edx, dword [esi + 0x98]
mov ecx, dword [edx + 0x34]
cmp ecx, edi
je 0x4c3b64
cmp dword [ecx], 6
jne 0x4c3b64
mov ecx, dword [ecx + 0x14]
cmp ecx, edi
je 0x4c3b64
mov edi, ecx
mov ecx, dword [esi]
cmp ecx, 0x300
jle 0x4c397f
cmp ecx, 0x100
je 0x4c397f
movzx ecx, byte [eax]
movzx edx, byte [eax + 1]
shl ecx, 8
or ecx, edx
add eax, 2
lea edx, [ecx + 2]
mov dword [esp + 0x10], eax
cmp ebp, edx
je 0x4c397d
test dword [esi + 0x100], 0x100
jne 0x4c3974
push 0x8cc
push str.._ssl_s3_srvr.c
mov ebx, 0x32
push 0xea
jmp 0x4c458e
sub eax, 2
mov dword [esp + 0x10], eax
jmp 0x4c397f
mov ebp, ecx
cmp ebp, 0x30
jge 0x4c399d
push 0x8de
push str.._ssl_s3_srvr.c
mov ebx, 0x33
push 0xea
jmp 0x4c458e
lea eax, [esp + 0x40]
push 0x30
push eax
call fcn.0040fe60
add esp, 8
test eax, eax
jle 0x4c45a9
mov eax, dword [esp + 0x10]
push 1
push edi
push eax
push eax
push ebp
call fcn.0046de40
add esp, 0x14
mov edi, eax
call fcn.004083b0
mov eax, dword [esi + 0x110]
mov ebp, dword [esp + 0x10]
xor edi, 0x30
mov edx, edi
not edx
shr edx, 0x1f
lea ecx, [edi - 1]
mov edi, eax
shr ecx, 0x1f
and cl, dl
movzx edx, byte [ebp + 1]
movzx eax, al
xor eax, edx
neg cl
lea edx, [eax - 1]
mov byte [esp + 0x1f], cl
movzx ecx, byte [ebp]
not eax
shr eax, 0x1f
sar edi, 8
xor edi, ecx
shr edx, 0x1f
and dl, al
mov ebx, edi
lea eax, [edi - 1]
shr eax, 0x1f
not ebx
shr ebx, 0x1f
and al, bl
neg dl
neg al
and dl, al
test dword [esi + 0x100], 0x800000
je 0x4c3a67
mov eax, dword [esi]
mov edi, eax
movzx eax, al
sar edi, 8
xor edi, ecx
movzx ecx, byte [ebp + 1]
xor eax, ecx
lea ecx, [eax - 1]
not eax
shr eax, 0x1f
shr ecx, 0x1f
and cl, al
mov ebx, edi
lea eax, [edi - 1]
shr eax, 0x1f
not ebx
shr ebx, 0x1f
and al, bl
neg cl
neg al
and cl, al
or dl, cl
mov cl, byte [esp + 0x1f]
and cl, dl
movzx edx, cl
xor eax, eax
mov dword [esp + 0x14], edx
jmp 0x4c3a84
mov ebp, dword [esp + 0x10]
movzx ebx, byte [esp + eax + 0x40]
mov cl, dl
and dl, byte [eax + ebp]
not cl
and bl, cl
or bl, dl
movzx edx, byte [esp + 0x14]
mov byte [eax + ebp], bl
mov edi, dword [esp + 0x10]
and dl, byte [eax + edi + 1]
mov bl, cl
and bl, byte [esp + eax + 0x41]
add eax, 6
or dl, bl
movzx ebx, byte [esp + 0x14]
mov byte [eax + edi - 5], dl
movzx edx, byte [esp + eax + 0x3c]
mov edi, dword [esp + 0x10]
and bl, byte [eax + edi - 4]
and dl, cl
or dl, bl
movzx ebx, byte [esp + 0x14]
mov byte [eax + edi - 4], dl
movzx edx, byte [esp + eax + 0x3d]
mov edi, dword [esp + 0x10]
and bl, byte [eax + edi - 3]
and dl, cl
or dl, bl
movzx ebx, byte [esp + 0x14]
mov byte [eax + edi - 3], dl
movzx edx, byte [esp + eax + 0x3e]
mov edi, dword [esp + 0x10]
and bl, byte [eax + edi - 2]
and dl, cl
or dl, bl
mov byte [eax + edi - 2], dl
movzx ebx, byte [esp + eax + 0x3f]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
and bl, cl
mov cl, dl
and cl, byte [eax + edi - 1]
or bl, cl
mov byte [eax + edi - 1], bl
cmp eax, 0x30
jb 0x4c3a80
mov edx, dword [esi + 8]
mov eax, dword [edx + 0x64]
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0xc0]
mov eax, dword [eax + 0xc]
push 0x30
push ecx
add edx, 0x14
push edx
push esi
call eax
mov ecx, dword [esi + 0xc0]
mov dword [ecx + 0x10], eax
mov edx, dword [esp + 0x20]
push 0x30
push edx
call fcn.004cd710
add esp, 0x18
mov eax, 1
jmp 0x4c45e8
push 0x8bf
push str.._ssl_s3_srvr.c
push 0xa8
jmp 0x4c4589
test bl, 0xe
je 0x4c3cd5
movzx ecx, byte [eax]
movzx ebx, byte [eax + 1]
shl ecx, 8
or ecx, ebx
add eax, 2
lea ebx, [ecx + 2]
mov dword [esp + 0x10], eax
cmp ebp, ebx
je 0x4c3bd0
test byte [esi + 0x100], 0x80
jne 0x4c3bc7
push 0x938
push str.._ssl_s3_srvr.c
push 0x94
push 0x8b
push 0x14
call fcn.004082c0
add esp, 0x14
jmp 0x4c45a9
sub eax, 2
mov dword [esp + 0x10], eax
mov ecx, ebp
cmp ebp, edi
jne 0x4c3be8
push 0x943
push str.._ssl_s3_srvr.c
push 0xec
jmp 0x4c4589
mov ebx, dword [edx + 0x348]
cmp ebx, edi
jne 0x4c3c06
push 0x949
push str.._ssl_s3_srvr.c
push 0xab
jmp 0x4c4589
push 0
push ecx
push eax
call fcn.00401660
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4c3c3b
push 0x951
push str.._ssl_s3_srvr.c
push 0x82
push 0x8b
push 0x14
call fcn.004082c0
add esp, 0x14
jmp 0x4c45a9
mov eax, dword [esp + 0x10]
push ebx
push edi
push eax
call fcn.00402680
mov ebp, eax
add esp, 0xc
test ebp, ebp
jg 0x4c3c76
push 0x958
push str.._ssl_s3_srvr.c
push 5
push 0x8b
push 0x14
call fcn.004082c0
push edi
call fcn.00401300
add esp, 0x18
jmp 0x4c45a9
mov ecx, dword [esi + 0x58]
mov edx, dword [ecx + 0x348]
push edx
call fcn.00402550
mov eax, dword [esi + 0x58]
push edi
mov dword [eax + 0x348], 0
call fcn.00401300
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 0x64]
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0xc0]
mov edx, dword [edx + 0xc]
push ebp
push eax
add ecx, 0x14
push ecx
push esi
call edx
mov ecx, dword [esi + 0xc0]
mov dword [ecx + 0x10], eax
mov edx, dword [esp + 0x28]
push ebp
push edx
call fcn.004cd710
add esp, 0x20
mov eax, 1
jmp 0x4c45e8
test bl, 0xe0
je 0x4c3fcf
mov dword [esp + 0x18], 1
call fcn.0046f1a0
mov dword [esp + 0x20], eax
cmp eax, edi
jne 0x4c3d13
push 0xa32
push str.._ssl_s3_srvr.c
push 0x41
push 0x8b
push 0x14
call fcn.004082c0
add esp, 0x14
jmp 0x4c45a9
test bl, 0x60
je 0x4c3d26
mov eax, dword [esi + 0x98]
mov ecx, dword [eax + 0x70]
mov edi, dword [ecx + 0x14]
jmp 0x4c3d2f
mov edx, dword [esi + 0x58]
mov edi, dword [edx + 0x34c]
push edi
call fcn.00410370
push edi
mov dword [esp + 0x1c], eax
call fcn.00410350
mov ecx, dword [esp + 0x28]
mov edi, eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
call fcn.0046f570
add esp, 0x10
test eax, eax
je 0x4c3faf
mov edx, dword [esp + 0x20]
push edi
push edx
call fcn.0046f5a0
add esp, 8
test eax, eax
je 0x4c3faf
mov eax, dword [esp + 0x14]
push eax
call fcn.00487070
mov edi, eax
add esp, 4
mov dword [esp + 0x24], edi
test edi, edi
jne 0x4c3d92
push 0xa4d
jmp 0x4c3cf8
test ebp, ebp
jne 0x4c3e2f
test bl, bl
jns 0x4c3db2
push 0xa57
push str.._ssl_s3_srvr.c
push 0x137
jmp 0x4c4589
mov ecx, dword [esi + 0xc0]
mov edx, dword [ecx + 0x9c]
push edx
call fcn.004510a0
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
je 0x4c3e1b
cmp dword [eax], 0x198
jne 0x4c3e1b
mov eax, dword [eax + 0x14]
push eax
call fcn.004972b0
push eax
push edi
call fcn.00487190
add esp, 0xc
test eax, eax
jne 0x4c3e0e
push 0xa6d
push str.._ssl_s3_srvr.c
push 0x10
push 0x8b
push 0x14
call fcn.004082c0
add esp, 0x14
jmp 0x4c45a9
mov dword [esp + 0x18], 2
jmp 0x4c3eba
push 0xa66
push str.._ssl_s3_srvr.c
push 0x139
jmp 0x4c4589
call fcn.0040c100
mov edx, eax
mov dword [esp + 0x2c], edx
test edx, edx
jne 0x4c3e48
push 0xa78
jmp 0x4c3cf8
mov eax, dword [esp + 0x10]
movzx ecx, byte [eax]
inc eax
lea ebx, [ecx + 1]
mov dword [esp + 0x10], eax
cmp ebp, ebx
je 0x4c3e7b
push 0xa80
push str.._ssl_s3_srvr.c
push 0x10
push 0x8b
push 0x14
call fcn.004082c0
add esp, 0x14
jmp 0x4c45a9
push edx
push ecx
mov ecx, dword [esp + 0x1c]
push eax
push edi
push ecx
call fcn.00488140
add esp, 0x14
test eax, eax
jne 0x4c3eb0
push 0xa84
push str.._ssl_s3_srvr.c
push 0x10
push 0x8b
push 0x14
call fcn.004082c0
add esp, 0x14
jmp 0x4c45a9
mov edx, dword [esi + 0x3c]
mov eax, dword [edx + 4]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00486e70
add esp, 4
test eax, eax
jg 0x4c3eeb
push 0xa91
push str.._ssl_s3_srvr.c
push 0x2b
push 0x8b
push 0x14
call fcn.004082c0
add esp, 0x14
jmp 0x4c45a9
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
add eax, 7
cdq
push 0
and edx, 7
push ebp
add eax, edx
mov edx, dword [esp + 0x18]
push ebx
sar eax, 3
push eax
push edx
call fcn.00488bc0
mov edi, eax
add esp, 0x14
test edi, edi
jg 0x4c3f37
push 0xa97
push str.._ssl_s3_srvr.c
push 0x2b
push 0x8b
push 0x14
call fcn.004082c0
add esp, 0x14
jmp 0x4c45a9
mov eax, dword [esp + 0x28]
push eax
call fcn.00450be0
push ebx
call fcn.00487120
push ebp
call fcn.0046f200
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0040c160
mov edx, dword [esi + 0x58]
mov eax, dword [edx + 0x34c]
push eax
call fcn.0046f200
mov ecx, dword [esi + 0x58]
mov dword [ecx + 0x34c], 0
mov edx, dword [esi + 8]
mov eax, dword [edx + 0x64]
mov ecx, dword [esp + 0x24]
mov edx, dword [esi + 0xc0]
mov eax, dword [eax + 0xc]
push edi
push ecx
add edx, 0x14
push edx
push esi
call eax
mov ecx, dword [esi + 0xc0]
mov dword [ecx + 0x10], eax
mov edx, dword [esp + 0x34]
push edi
push edx
call fcn.004cd710
mov eax, dword [esp + 0x44]
add esp, 0x2c
jmp 0x4c45e8
push 0xa47
push str.._ssl_s3_srvr.c
push 0x10
push 0x8b
push 0x14
call fcn.004082c0
add esp, 0x14
jmp 0x4c45a9
test ebx, 0x100
je 0x4c429a
movzx edi, byte [eax]
movzx ecx, byte [eax + 1]
shl edi, 8
or edi, ecx
add eax, 2
lea edx, [edi + 2]
mov ebx, 0x28
mov dword [esp + 0x18], 1
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
cmp ebp, edx
je 0x4c4029
push 0xab9
push str.._ssl_s3_srvr.c
push 0x9f
push 0x8b
push 0x14
call fcn.004082c0
add esp, 0x14
jmp 0x4c4270
cmp edi, 0x80
jle 0x4c4054
push 0xabe
push str.._ssl_s3_srvr.c
push 0x92
push 0x8b
push 0x14
call fcn.004082c0
add esp, 0x14
jmp 0x4c4270
mov ebp, dword [esi + 0xe0]
test ebp, ebp
jne 0x4c4081
push 0xac3
push str.._ssl_s3_srvr.c
push 0xe1
push 0x8b
push 0x14
call fcn.004082c0
add esp, 0x14
jmp 0x4c4270
push edi
push eax
lea eax, [esp + 0x78]
push eax
call fcn.0055d750
mov ecx, 0x81
sub ecx, edi
push ecx
lea edx, [esp + edi + 0x80]
push 0
push edx
call fcn.0055eb60
push 0x204
lea eax, [esp + 0x110]
push eax
lea ecx, [esp + 0x90]
push ecx
push esi
call ebp
lea edx, [esp + 0x98]
push 0x81
push edx
mov ebx, eax
call fcn.004cd710
add esp, 0x30
cmp ebx, 0x100
jbe 0x4c40fb
push 0xad2
push str.._ssl_s3_srvr.c
push 0x44
push 0x8b
push 0x14
call fcn.004082c0
add esp, 0x14
jmp 0x4c426c
test ebx, ebx
jne 0x4c412a
push 0xad9
push str.._ssl_s3_srvr.c
push 0xdf
push 0x8b
push 0x14
call fcn.004082c0
add esp, 0x14
mov dword [esp + 0x14], 0x73
jmp 0x4c426c
push ebx
lea eax, [esp + 0xf8]
push eax
lea ecx, [esp + ebx + 0x100]
push ecx
lea ebp, [ebx + ebx + 4]
call fcn.0055de30
push ebx
mov eax, ebx
shr eax, 8
lea edx, [esp + 0x106]
push 0
push edx
mov dword [esp + 0x48], eax
mov byte [esp + 0x10c], al
mov byte [esp + 0x10d], bl
call fcn.0055eb60
mov cl, byte [esp + 0x48]
lea eax, [esp + ebx + 0x10e]
mov byte [eax], cl
mov byte [eax + 1], bl
mov edx, dword [esi + 0xc0]
mov eax, dword [edx + 0x90]
add esp, 0x18
test eax, eax
je 0x4c4197
push eax
call fcn.00401230
add esp, 4
mov eax, dword [esp + 0x10]
push edi
push eax
call fcn.004227a0
mov ecx, dword [esi + 0xc0]
mov dword [ecx + 0x90], eax
mov eax, dword [esi + 0xc0]
add esp, 8
cmp dword [eax + 0x90], 0
jne 0x4c41e0
push 0xaeb
push str.._ssl_s3_srvr.c
push 0x41
push 0x8b
push 0x14
call fcn.004082c0
add esp, 0x14
jmp 0x4c426c
mov eax, dword [eax + 0x8c]
test eax, eax
je 0x4c41f3
push eax
call fcn.00401230
add esp, 4
mov edx, dword [esi + 0xe4]
mov eax, dword [edx + 0x14c]
push eax
call fcn.00422910
mov ecx, dword [esi + 0xc0]
mov dword [ecx + 0x8c], eax
mov edx, dword [esi + 0xe4]
add esp, 4
cmp dword [edx + 0x14c], 0
je 0x4c4239
mov eax, dword [esi + 0xc0]
cmp dword [eax + 0x8c], 0
jne 0x4c4239
push 0xaf4
jmp 0x4c41c5
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 0x64]
mov ecx, dword [esi + 0xc0]
mov edx, dword [edx + 0xc]
push ebp
lea eax, [esp + 0xf8]
push eax
add ecx, 0x14
push ecx
push esi
call edx
mov ecx, dword [esi + 0xc0]
add esp, 0x10
mov dword [ecx + 0x10], eax
mov dword [esp + 0x18], 0
mov ebx, dword [esp + 0x14]
lea edx, [esp + 0xf4]
push 0x204
push edx
call fcn.004cd710
add esp, 8
cmp dword [esp + 0x18], 0
jne 0x4c459d
mov eax, 1
jmp 0x4c45e8
test ebx, 0x400
je 0x4c43d8
movzx ecx, byte [eax]
movzx edx, byte [eax + 1]
shl ecx, 8
or ecx, edx
add eax, 2
lea edx, [ecx + 2]
mov dword [esp + 0x10], eax
cmp edx, ebp
jle 0x4c42d9
push 0xb0e
push str.._ssl_s3_srvr.c
mov ebx, 0x32
push 0x15b
jmp 0x4c458e
push edi
push ecx
push eax
call fcn.00401660
add esp, 0xc
mov dword [esi + 0x1b8], eax
cmp eax, edi
jne 0x4c430e
push 0xb12
push str.._ssl_s3_srvr.c
push 3
push 0x8b
push 0x14
call fcn.004082c0
add esp, 0x14
jmp 0x4c45a9
mov ecx, dword [esi + 0x1a8]
push ecx
push eax
call fcn.004017c0
add esp, 8
test eax, eax
jns 0x4c43bf
mov edx, dword [esi + 0x1b8]
cmp dword [edx + 4], edi
je 0x4c43bf
mov eax, dword [esi + 0xc0]
mov eax, dword [eax + 0xf0]
cmp eax, edi
je 0x4c434e
push eax
call fcn.00401230
add esp, 4
mov ecx, dword [esi + 0x1a4]
push ecx
call fcn.00422910
mov edx, dword [esi + 0xc0]
mov dword [edx + 0xf0], eax
mov eax, dword [esi + 0xc0]
add esp, 4
cmp dword [eax + 0xf0], edi
jne 0x4c4381
push 0xb20
jmp 0x4c3cf8
add eax, 0x14
push eax
push esi
call fcn.0046cfb0
mov ecx, dword [esi + 0xc0]
add esp, 8
mov dword [ecx + 0x10], eax
cmp eax, edi
jge 0x4c3b5a
push 0xb27
push str.._ssl_s3_srvr.c
push 0x44
push 0x8b
push 0x14
call fcn.004082c0
add esp, 0x14
jmp 0x4c45a9
push 0xb19
push str.._ssl_s3_srvr.c
mov ebx, 0x2f
push 0x173
jmp 0x4c458e
test ebx, 0x200
je 0x4c457a
mov dword [esp + 0x3c], 0x20
mov edx, dword [edx + 0x344]
mov eax, dword [edx + 0x10]
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 0x14], edi
test eax, 0x100
je 0x4c440f
mov eax, dword [esi + 0x98]
mov ecx, dword [eax + 0x7c]
jmp 0x4c4422
test eax, 0x200
je 0x4c4422
mov ecx, dword [esi + 0x98]
mov ecx, dword [ecx + 0x88]
push 0
push ecx
call fcn.004658e0
mov edi, eax
add esp, 8
test edi, edi
jne 0x4c4447
push 0xb42
push str.._ssl_s3_srvr.c
lea ebx, [eax + 0x50]
push 0x41
jmp 0x4c458e
push edi
call fcn.004888f0
add esp, 4
test eax, eax
jg 0x4c4465
push 0xb46
push str.._ssl_s3_srvr.c
push 0x44
jmp 0x4c4550
mov edx, dword [esi + 0xc0]
mov eax, dword [edx + 0x9c]
push eax
call fcn.004510a0
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
je 0x4c4497
mov ecx, eax
push ecx
push edi
call fcn.00488a40
add esp, 8
test eax, eax
jg 0x4c4497
call fcn.004083b0
push ebp
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.0044c9c0
add esp, 0x14
cmp eax, 0x20
jne 0x4c4541
cmp dword [esp + 0x30], 0x10
jne 0x4c4541
cmp dword [esp + 0x18], ebx
jne 0x4c4541
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
push eax
push ecx
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x4c]
push eax
push edi
call fcn.00488960
add esp, 0x14
test eax, eax
jg 0x4c44f2
push 0xb62
jmp 0x4c4546
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 0x64]
mov ecx, dword [esi + 0xc0]
mov edx, dword [edx + 0xc]
push 0x20
lea eax, [esp + 0x44]
push eax
add ecx, 0x14
push ecx
push esi
call edx
mov ecx, dword [esi + 0xc0]
lea edx, [esp + 0x50]
push 0x20
push edx
mov dword [ecx + 0x10], eax
call fcn.004cd710
push 0
push 2
push 2
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
call fcn.004656b0
xor ebx, ebx
add esp, 0x30
test eax, eax
setg bl
inc ebx
jmp 0x4c455f
push 0xb5a
push str.._ssl_s3_srvr.c
push 0x93
push 0x8b
push 0x14
call fcn.004082c0
add esp, 0x14
mov eax, dword [esp + 0x14]
push eax
call fcn.00450be0
push edi
call fcn.00465650
add esp, 8
test ebx, ebx
je 0x4c45a9
mov eax, ebx
jmp 0x4c45e8
push 0xb7b
push str.._ssl_s3_srvr.c
push 0xf9
mov ebx, 0x28
push 0x8b
push 0x14
call fcn.004082c0
add esp, 0x14
push ebx
push 2
push esi
call fcn.0046af40
add esp, 0xc
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00450be0
mov edx, dword [esp + 0x28]
push edx
call fcn.00487120
mov eax, dword [esp + 0x28]
add esp, 8
test eax, eax
je 0x4c45d1
push eax
call fcn.0046f200
add esp, 4
mov eax, dword [esp + 0x2c]
push eax
call fcn.0040c160
add esp, 4
mov dword [esi + 0x34], 5
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x2f4]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0055e48d
add esp, 0x2ec
ret