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

Disassembly:
mov eax, 0x2ec
call fcn.0055ef00
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 0x4c4569
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 0x4c3af8
cmp dword [edx + 0x370], edi
je 0x4c387c
mov ecx, dword [esi + 0x98]
cmp ecx, edi
je 0x4c3868
mov ecx, dword [ecx + 0x18]
cmp ecx, edi
jne 0x4c38a1
push 0x8b5
push str.._ssl_s3_srvr.c
push 0xad
jmp 0x4c4509
mov edx, dword [esi + 0x98]
mov ecx, dword [edx + 0x34]
cmp ecx, edi
je 0x4c3ae4
cmp dword [ecx], 6
jne 0x4c3ae4
mov ecx, dword [ecx + 0x14]
cmp ecx, edi
je 0x4c3ae4
mov edi, ecx
mov ecx, dword [esi]
cmp ecx, 0x300
jle 0x4c38ff
cmp ecx, 0x100
je 0x4c38ff
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 0x4c38fd
test dword [esi + 0x100], 0x100
jne 0x4c38f4
push 0x8cc
push str.._ssl_s3_srvr.c
mov ebx, 0x32
push 0xea
jmp 0x4c450e
sub eax, 2
mov dword [esp + 0x10], eax
jmp 0x4c38ff
mov ebp, ecx
cmp ebp, 0x30
jge 0x4c391d
push 0x8de
push str.._ssl_s3_srvr.c
mov ebx, 0x33
push 0xea
jmp 0x4c450e
lea eax, [esp + 0x40]
push 0x30
push eax
call fcn.0040fe50
add esp, 8
test eax, eax
jle 0x4c4529
mov eax, dword [esp + 0x10]
push 1
push edi
push eax
push eax
push ebp
call fcn.0046dd90
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 0x4c39e7
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 0x4c3a04
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 0x4c3a00
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 0x4c4568
push 0x8bf
push str.._ssl_s3_srvr.c
push 0xa8
jmp 0x4c4509
test bl, 0xe
je 0x4c3c55
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 0x4c3b50
test byte [esi + 0x100], 0x80
jne 0x4c3b47
push 0x938
push str.._ssl_s3_srvr.c
push 0x94
push 0x8b
push 0x14
call fcn.004082c0
add esp, 0x14
jmp 0x4c4529
sub eax, 2
mov dword [esp + 0x10], eax
mov ecx, ebp
cmp ebp, edi
jne 0x4c3b68
push 0x943
push str.._ssl_s3_srvr.c
push 0xec
jmp 0x4c4509
mov ebx, dword [edx + 0x348]
cmp ebx, edi
jne 0x4c3b86
push 0x949
push str.._ssl_s3_srvr.c
push 0xab
jmp 0x4c4509
push 0
push ecx
push eax
call fcn.00401660
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4c3bbb
push 0x951
push str.._ssl_s3_srvr.c
push 0x82
push 0x8b
push 0x14
call fcn.004082c0
add esp, 0x14
jmp 0x4c4529
mov eax, dword [esp + 0x10]
push ebx
push edi
push eax
call fcn.00402680
mov ebp, eax
add esp, 0xc
test ebp, ebp
jg 0x4c3bf6
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 0x4c4529
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 0x4c4568
test bl, 0xe0
je 0x4c3f4f
mov dword [esp + 0x18], 1
call fcn.0046f0f0
mov dword [esp + 0x20], eax
cmp eax, edi
jne 0x4c3c93
push 0xa32
push str.._ssl_s3_srvr.c
push 0x41
push 0x8b
push 0x14
call fcn.004082c0
add esp, 0x14
jmp 0x4c4529
test bl, 0x60
je 0x4c3ca6
mov eax, dword [esi + 0x98]
mov ecx, dword [eax + 0x70]
mov edi, dword [ecx + 0x14]
jmp 0x4c3caf
mov edx, dword [esi + 0x58]
mov edi, dword [edx + 0x34c]
push edi
call fcn.00410320
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.0046f4c0
add esp, 0x10
test eax, eax
je 0x4c3f2f
mov edx, dword [esp + 0x20]
push edi
push edx
call fcn.0046f4f0
add esp, 8
test eax, eax
je 0x4c3f2f
mov eax, dword [esp + 0x14]
push eax
call fcn.00486f80
mov edi, eax
add esp, 4
mov dword [esp + 0x24], edi
test edi, edi
jne 0x4c3d12
push 0xa4d
jmp 0x4c3c78
test ebp, ebp
jne 0x4c3daf
test bl, bl
jns 0x4c3d32
push 0xa57
push str.._ssl_s3_srvr.c
push 0x137
jmp 0x4c4509
mov ecx, dword [esi + 0xc0]
mov edx, dword [ecx + 0x9c]
push edx
call fcn.00451090
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
je 0x4c3d9b
cmp dword [eax], 0x198
jne 0x4c3d9b
mov eax, dword [eax + 0x14]
push eax
call fcn.00465720
push eax
push edi
call fcn.004870a0
add esp, 0xc
test eax, eax
jne 0x4c3d8e
push 0xa6d
push str.._ssl_s3_srvr.c
push 0x10
push 0x8b
push 0x14
call fcn.004082c0
add esp, 0x14
jmp 0x4c4529
mov dword [esp + 0x18], 2
jmp 0x4c3e3a
push 0xa66
push str.._ssl_s3_srvr.c
push 0x139
jmp 0x4c4509
call fcn.0040c0f0
mov edx, eax
mov dword [esp + 0x2c], edx
test edx, edx
jne 0x4c3dc8
push 0xa78
jmp 0x4c3c78
mov eax, dword [esp + 0x10]
movzx ecx, byte [eax]
inc eax
lea ebx, [ecx + 1]
mov dword [esp + 0x10], eax
cmp ebp, ebx
je 0x4c3dfb
push 0xa80
push str.._ssl_s3_srvr.c
push 0x10
push 0x8b
push 0x14
call fcn.004082c0
add esp, 0x14
jmp 0x4c4529
push edx
push ecx
mov ecx, dword [esp + 0x1c]
push eax
push edi
push ecx
call fcn.00488050
add esp, 0x14
test eax, eax
jne 0x4c3e30
push 0xa84
push str.._ssl_s3_srvr.c
push 0x10
push 0x8b
push 0x14
call fcn.004082c0
add esp, 0x14
jmp 0x4c4529
mov edx, dword [esi + 0x3c]
mov eax, dword [edx + 4]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00486d80
add esp, 4
test eax, eax
jg 0x4c3e6b
push 0xa91
push str.._ssl_s3_srvr.c
push 0x2b
push 0x8b
push 0x14
call fcn.004082c0
add esp, 0x14
jmp 0x4c4529
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.00488ad0
mov edi, eax
add esp, 0x14
test edi, edi
jg 0x4c3eb7
push 0xa97
push str.._ssl_s3_srvr.c
push 0x2b
push 0x8b
push 0x14
call fcn.004082c0
add esp, 0x14
jmp 0x4c4529
mov eax, dword [esp + 0x28]
push eax
call fcn.00450be0
push ebx
call fcn.00487030
push ebp
call fcn.0046f150
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0040c150
mov edx, dword [esi + 0x58]
mov eax, dword [edx + 0x34c]
push eax
call fcn.0046f150
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 0x4c4568
push 0xa47
push str.._ssl_s3_srvr.c
push 0x10
push 0x8b
push 0x14
call fcn.004082c0
add esp, 0x14
jmp 0x4c4529
test ebx, 0x100
je 0x4c421a
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 0x4c3fa9
push 0xab9
push str.._ssl_s3_srvr.c
push 0x9f
push 0x8b
push 0x14
call fcn.004082c0
add esp, 0x14
jmp 0x4c41f0
cmp edi, 0x80
jle 0x4c3fd4
push 0xabe
push str.._ssl_s3_srvr.c
push 0x92
push 0x8b
push 0x14
call fcn.004082c0
add esp, 0x14
jmp 0x4c41f0
mov ebp, dword [esi + 0xe0]
test ebp, ebp
jne 0x4c4001
push 0xac3
push str.._ssl_s3_srvr.c
push 0xe1
push 0x8b
push 0x14
call fcn.004082c0
add esp, 0x14
jmp 0x4c41f0
push edi
push eax
lea eax, [esp + 0x78]
push eax
call fcn.0055d7b0
mov ecx, 0x81
sub ecx, edi
push ecx
lea edx, [esp + edi + 0x80]
push 0
push edx
call fcn.0055ebc0
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 0x4c407b
push 0xad2
push str.._ssl_s3_srvr.c
push 0x44
push 0x8b
push 0x14
call fcn.004082c0
add esp, 0x14
jmp 0x4c41ec
test ebx, ebx
jne 0x4c40aa
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 0x4c41ec
push ebx
lea eax, [esp + 0xf8]
push eax
lea ecx, [esp + ebx + 0x100]
push ecx
lea ebp, [ebx + ebx + 4]
call fcn.0055de90
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.0055ebc0
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 0x4c4117
push eax
call fcn.00401230
add esp, 4
mov eax, dword [esp + 0x10]
push edi
push eax
call fcn.004227c0
mov ecx, dword [esi + 0xc0]
mov dword [ecx + 0x90], eax
mov eax, dword [esi + 0xc0]
add esp, 8
cmp dword [eax + 0x90], 0
jne 0x4c4160
push 0xaeb
push str.._ssl_s3_srvr.c
push 0x41
push 0x8b
push 0x14
call fcn.004082c0
add esp, 0x14
jmp 0x4c41ec
mov eax, dword [eax + 0x8c]
test eax, eax
je 0x4c4173
push eax
call fcn.00401230
add esp, 4
mov edx, dword [esi + 0xe4]
mov eax, dword [edx + 0x14c]
push eax
call fcn.00422930
mov ecx, dword [esi + 0xc0]
mov dword [ecx + 0x8c], eax
mov edx, dword [esi + 0xe4]
add esp, 4
cmp dword [edx + 0x14c], 0
je 0x4c41b9
mov eax, dword [esi + 0xc0]
cmp dword [eax + 0x8c], 0
jne 0x4c41b9
push 0xaf4
jmp 0x4c4145
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 0x4c451d
mov eax, 1
jmp 0x4c4568
test ebx, 0x400
je 0x4c4358
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 0x4c4259
push 0xb0e
push str.._ssl_s3_srvr.c
mov ebx, 0x32
push 0x15b
jmp 0x4c450e
push edi
push ecx
push eax
call fcn.00401660
add esp, 0xc
mov dword [esi + 0x1b8], eax
cmp eax, edi
jne 0x4c428e
push 0xb12
push str.._ssl_s3_srvr.c
push 3
push 0x8b
push 0x14
call fcn.004082c0
add esp, 0x14
jmp 0x4c4529
mov ecx, dword [esi + 0x1a8]
push ecx
push eax
call fcn.004017c0
add esp, 8
test eax, eax
jns 0x4c433f
mov edx, dword [esi + 0x1b8]
cmp dword [edx + 4], edi
je 0x4c433f
mov eax, dword [esi + 0xc0]
mov eax, dword [eax + 0xf0]
cmp eax, edi
je 0x4c42ce
push eax
call fcn.00401230
add esp, 4
mov ecx, dword [esi + 0x1a4]
push ecx
call fcn.00422930
mov edx, dword [esi + 0xc0]
mov dword [edx + 0xf0], eax
mov eax, dword [esi + 0xc0]
add esp, 4
cmp dword [eax + 0xf0], edi
jne 0x4c4301
push 0xb20
jmp 0x4c3c78
add eax, 0x14
push eax
push esi
call fcn.0046cf00
mov ecx, dword [esi + 0xc0]
add esp, 8
mov dword [ecx + 0x10], eax
cmp eax, edi
jge 0x4c3ada
push 0xb27
push str.._ssl_s3_srvr.c
push 0x44
push 0x8b
push 0x14
call fcn.004082c0
add esp, 0x14
jmp 0x4c4529
push 0xb19
push str.._ssl_s3_srvr.c
mov ebx, 0x2f
push 0x173
jmp 0x4c450e
test ebx, 0x200
je 0x4c44fa
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 0x4c438f
mov eax, dword [esi + 0x98]
mov ecx, dword [eax + 0x7c]
jmp 0x4c43a2
test eax, 0x200
je 0x4c43a2
mov ecx, dword [esi + 0x98]
mov ecx, dword [ecx + 0x88]
push 0
push ecx
call fcn.00465870
mov edi, eax
add esp, 8
test edi, edi
jne 0x4c43c7
push 0xb42
push str.._ssl_s3_srvr.c
lea ebx, [eax + 0x50]
push 0x41
jmp 0x4c450e
push edi
call fcn.00488800
add esp, 4
test eax, eax
jg 0x4c43e5
push 0xb46
push str.._ssl_s3_srvr.c
push 0x44
jmp 0x4c44d0
mov edx, dword [esi + 0xc0]
mov eax, dword [edx + 0x9c]
push eax
call fcn.00451090
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
je 0x4c4417
mov ecx, eax
push ecx
push edi
call fcn.00488950
add esp, 8
test eax, eax
jg 0x4c4417
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.0044c9d0
add esp, 0x14
cmp eax, 0x20
jne 0x4c44c1
cmp dword [esp + 0x30], 0x10
jne 0x4c44c1
cmp dword [esp + 0x18], ebx
jne 0x4c44c1
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.00488870
add esp, 0x14
test eax, eax
jg 0x4c4472
push 0xb62
jmp 0x4c44c6
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.00465630
xor ebx, ebx
add esp, 0x30
test eax, eax
setg bl
inc ebx
jmp 0x4c44df
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.004655d0
add esp, 8
test ebx, ebx
je 0x4c4529
mov eax, ebx
jmp 0x4c4568
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.0046ae90
add esp, 0xc
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00450be0
mov edx, dword [esp + 0x28]
push edx
call fcn.00487030
mov eax, dword [esp + 0x28]
add esp, 8
test eax, eax
je 0x4c4551
push eax
call fcn.0046f150
add esp, 4
mov eax, dword [esp + 0x2c]
push eax
call fcn.0040c150
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.0055e4ed
add esp, 0x2ec
ret