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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0xcc
call fcn.005dfa60
mov eax, dword [0x6a704c]
xor eax, esp
mov dword [esp + 0xc8], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x58], eax
push 0x10
mov dword [esp + 0x14], edi
mov eax, dword [edi + 8]
mov dword [esp + 0x60], eax
xor eax, eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x54], 1
mov dword [esp + 0x48], 0
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x3c], eax
mov dword [0x6a7ea4], eax
call fcn.005ee808
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
je 0x522f47
xorps xmm0, xmm0
mov dword [0x6a7ea4], ebx
push 8
movups xmmword [eax], xmm0
call fcn.005ee808
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
je 0x522f39
mov ecx, str.default
mov edx, eax
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + edx - 1], al
test al, al
jne 0x522537
mov eax, dword [esp + 0x20]
mov dword [esp + 0x4c], eax
cmp dword [edi + 8], ebx
jne 0x52258c
mov edx, 0x522040
mov ecx, 0x522010
call fcn.004bb1c0
mov dword [edi + 8], eax
test eax, eax
jne 0x522588
push 0xd6
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcryptoconfconf_def.c
push 0x41
mov edx, 0x79
lea ecx, [edx - 0x6b]
call fcn.00489de0
add esp, 0xc
jmp 0x522e5e
mov eax, dword [esp + 0x20]
mov edx, eax
mov ecx, edi
call fcn.00522180
mov dword [esp + 0x40], eax
test eax, eax
jne 0x5225ab
push 0xdc
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcryptoconfconf_def.c
push 0x67
jmp 0x522573
mov edi, dword [esp + 0x14]
xor ebx, ebx
mov edx, 0x200
mov dword [esp + 0x2c], ebx
mov ecx, edi
mov dword [esp + 0x34], ebx
call fcn.00493b40
test eax, eax
je 0x522dd2
nop dword [eax]
mov edi, dword [edi + 4]
add edi, ebx
mov ebx, dword [esp + 0x28]
mov byte [edi], 0
nop dword [eax]
push 0x1ff
mov edx, edi
mov ecx, esi
call fcn.0047b700
mov esi, edi
mov byte [edi + 0x1ff], 0
add esp, 4
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x522600
sub esi, ecx
cmp dword [esp + 0x50], 0
mov edx, esi
je 0x522662
mov word [esp + 0x80], 0xbbef
mov byte [esp + 0x82], 0xbf
cmp esi, 3
jl 0x52265c
movzx eax, word [edi]
lea ecx, [esp + 0x80]
cmp ax, word [ecx]
jne 0x52265c
movzx eax, byte [edi + 2]
cmp al, byte [ecx + 2]
jne 0x52265c
lea eax, [esi - 3]
push eax
lea eax, [edi + 3]
push eax
push edi
call fcn.005e1be0
add esp, 0xc
mov byte [esi + edi - 3], 0
sub esi, 3
mov edx, esi
xor eax, eax
mov dword [esp + 0x50], eax
test esi, esi
jne 0x5226ed
cmp dword [esp + 0x34], esi
jne 0x5226ed
cmp dword [esp + 0x38], esi
je 0x5226b2
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x38]
call fcn.00523630
mov esi, eax
test esi, esi
je 0x52269e
push dword [esp + 0x1c]
call fcn.0047b180
add esp, 4
mov dword [esp + 0x1c], esi
jmp 0x5225e0
push dword [esp + 0x24]
call fcn.005e4cbe
add esp, 4
mov dword [esp + 0x24], 0
test ebx, ebx
je 0x522df6
mov ecx, dword [ebx]
test ecx, ecx
je 0x522df6
mov eax, dword [ebx + 4]
mov esi, dword [eax + ecx*4 - 4]
lea eax, [ecx - 1]
mov dword [ebx], eax
test esi, esi
je 0x522df6
push dword [esp + 0x1c]
call fcn.0047b180
add esp, 4
mov dword [esp + 0x1c], esi
jmp 0x5225e0
mov dword [esp + 0x34], 0
test esi, esi
jle 0x522710
lea ecx, [edi - 1]
add ecx, esi
nop
mov al, byte [ecx]
cmp al, 0xd
je 0x52270a
cmp al, 0xa
jne 0x522710
dec esi
dec ecx
test esi, esi
jg 0x522700
test edx, edx
je 0x522723
cmp esi, edx
jne 0x522723
mov edi, 1
mov dword [esp + 0x34], edi
jmp 0x52272f
inc dword [esp + 0x44]
mov byte [esi + edi], 0
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x14]
add ecx, esi
mov esi, dword [esp + 0x10]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x18], 0
cmp ecx, 1
jl 0x522795
mov edx, dword [ebx + 4]
add edx, ecx
mov al, byte [edx - 1]
cmp al, 0x7f
ja 0x522795
mov ecx, dword [esi + 4]
movzx eax, al
test byte [ecx + eax*2], 0x20
je 0x522795
mov ebx, dword [esp + 0x2c]
cmp ebx, 1
jle 0x52277f
mov al, byte [edx - 2]
cmp al, 0x7f
ja 0x52277f
movzx eax, al
test byte [ecx + eax*2], 0x20
jne 0x522791
dec ebx
mov dword [esp + 0x34], 1
mov dword [esp + 0x2c], ebx
jmp 0x522db1
mov ebx, dword [esp + 0x14]
test edi, edi
jne 0x522db1
mov ebx, dword [ebx + 4]
mov ecx, esi
mov edx, ebx
mov dword [esp + 0x2c], edi
call fcn.005230b0
nop dword [eax]
mov dl, byte [ebx]
cmp dl, 0x7f
ja 0x5227dc
mov eax, dword [esi + 4]
movzx ecx, dl
movzx eax, word [eax + ecx*2]
test al, 0x10
je 0x5227cc
test al, 8
jne 0x5227cc
inc ebx
jmp 0x5227b0
mov eax, dword [esi + 4]
movzx ecx, dl
test byte [eax + ecx*2], 8
jne 0x522db1
cmp dl, 0x5b
jne 0x522923
lea edi, [ebx + 1]
mov al, byte [edi]
cmp al, 0x7f
ja 0x522803
movzx ecx, al
mov eax, dword [esi + 4]
movzx eax, word [eax + ecx*2]
test al, 0x10
je 0x522803
test al, 8
jne 0x522803
inc edi
jmp 0x5227e8
mov dword [esp + 0x30], edi
mov esi, edi
nop dword [eax]
mov edi, dword [esp + 0x10]
mov edx, esi
mov ecx, edi
call fcn.00523840
mov dword [esp + 0x48], eax
mov edx, eax
mov bl, byte [edx]
cmp bl, 0x7f
ja 0x52283f
mov eax, dword [edi + 4]
movzx ecx, bl
movzx eax, word [eax + ecx*2]
test al, 0x10
je 0x52283f
test al, 8
jne 0x52283f
inc edx
jmp 0x522823
mov edi, dword [esp + 0x30]
cmp bl, 0x5d
je 0x52285c
test bl, bl
je 0x522e3a
cmp esi, edx
je 0x522e3a
mov esi, edx
jmp 0x522810
mov eax, dword [esp + 0x48]
xor edx, edx
push edi
mov edi, dword [esp + 0x14]
mov ecx, edi
mov byte [eax], 0
lea eax, [esp + 0x50]
push eax
call fcn.005231f0
add esp, 8
test eax, eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x20], eax
je 0x522e5a
test eax, eax
je 0x5228eb
mov esi, dword [edi + 8]
lea edx, [esp + 0x68]
mov dword [esp + 0x68], eax
mov ecx, esi
lea eax, [esp + 0x60]
mov dword [esp + 0x6c], 0
push eax
mov dword [esi + 0x5c], 0
call fcn.004bb640
add esp, 4
mov edx, dword [eax]
test edx, edx
jne 0x5228c0
xor ebx, ebx
jmp 0x5228c2
mov ebx, dword [edx]
xor eax, eax
mov dword [esp + 0x40], ebx
test edx, edx
mov ecx, 1
sete al
lea eax, [eax*4 + 0x50]
add eax, esi
lock xadd dword [eax], ecx
test ebx, ebx
jne 0x522db1
mov eax, dword [esp + 0x20]
mov edx, eax
mov ecx, edi
call fcn.00522180
mov ebx, eax
mov dword [esp + 0x40], ebx
test ebx, ebx
jne 0x522db1
push 0x15c
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcryptoconfconf_def.c
push 0x67
mov edx, 0x79
lea ecx, [edx - 0x6b]
call fcn.00489de0
add esp, 0xc
jmp 0x522e5a
mov edx, ebx
mov ecx, esi
call fcn.00523840
mov edi, eax
mov dword [esp + 0x48], edi
cmp byte [edi], 0x3a
jne 0x522959
cmp byte [edi + 1], 0x3a
jne 0x522959
mov dword [esp + 0x30], ebx
lea edx, [edi + 2]
mov ecx, esi
mov byte [edi], 0
lea ebx, [edi + 2]
call fcn.00523840
mov edi, eax
mov dword [esp + 0x48], edi
jmp 0x522961
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], eax
mov esi, edi
mov edi, dword [esp + 0x10]
mov al, byte [esi]
cmp al, 0x7f
ja 0x522982
movzx ecx, al
mov eax, dword [edi + 4]
movzx eax, word [eax + ecx*2]
test al, 0x10
je 0x522982
test al, 8
jne 0x522982
inc esi
jmp 0x522967
push 8
push str..include
push ebx
mov dword [esp + 0x48], esi
call fcn.005ee820
mov edi, dword [esp + 0x54]
add esp, 0xc
test eax, eax
jne 0x522b72
lea eax, [ebx + 8]
cmp esi, eax
jne 0x5229b2
cmp byte [esi], 0x3d
jne 0x522f28
cmp byte [esi], 0x3d
mov dword [esp + 0x54], 0
jne 0x5229e1
mov al, byte [esi + 1]
inc esi
cmp al, 0x7f
ja 0x5229dd
movzx ecx, al
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
movzx eax, word [eax + ecx*2]
test al, 0x10
je 0x5229dd
test al, 8
je 0x5229bf
mov dword [esp + 0x3c], esi
mov ecx, esi
mov esi, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x7f
ja 0x5229f9
mov edx, dword [esi + 4]
movzx eax, al
test byte [edx + eax*2], 8
jne 0x5229fc
inc ecx
jmp 0x5229e7
mov esi, dword [esp + 0x3c]
dec ecx
cmp ecx, esi
jb 0x522a19
mov al, byte [ecx]
cmp al, 0x7f
ja 0x522a19
movzx eax, al
test byte [edx + eax*2], 0x10
je 0x522a19
dec ecx
cmp ecx, esi
jae 0x522a05
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x54]
mov edx, dword [esp + 0x30]
mov byte [ecx + 1], 0
mov ecx, edi
push esi
push eax
call fcn.005231f0
add esp, 8
test eax, eax
je 0x522e5a
push 0x30
lea eax, [esp + 0x94]
push 0
push eax
call fcn.005e1a80
mov esi, dword [esp + 0x60]
lea eax, [esp + 0x9c]
push eax
push esi
call fcn.005f1d89
add esp, 0x14
test eax, eax
jns 0x522a94
call fcn.005ee911
push 0x2b4
mov edx, 0x16
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcryptoconfconf_def.c
push dword [eax]
lea ecx, [edx - 0x14]
call fcn.00489de0
push esi
push 1
call fcn.0048a850
add esp, 0x14
xor edi, edi
jmp 0x522aee
mov eax, dword [esp + 0x96]
and eax, 0xf000
cmp eax, 0x4000
jne 0x522ae0
cmp dword [esp + 0x38], 0
je 0x522ac4
push 0x2bd
mov edx, 0x74
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcryptoconfconf_def.c
push 0x6f
lea ecx, [edx - 0x66]
jmp 0x522a80
lea edx, [esp + 0x38]
mov ecx, esi
call fcn.00523630
mov edi, eax
mov eax, dword [esp + 0x24]
test edi, edi
cmovne eax, esi
mov dword [esp + 0x24], eax
jmp 0x522af2
mov edx, 0x67ab28
mov ecx, esi
call fcn.0047a830
mov edi, eax
mov eax, dword [esp + 0x24]
cmp esi, eax
je 0x522aff
push esi
call fcn.005e4cbe
add esp, 4
test edi, edi
je 0x522db1
mov esi, dword [esp + 0x28]
test esi, esi
jne 0x522b4f
push 0x14
mov dword [0x6a7ea4], esi
call fcn.005ee808
mov esi, eax
add esp, 4
mov dword [esp + 0x28], esi
test esi, esi
je 0x522eb3
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
push dword [esi]
mov edx, dword [esp + 0x20]
mov ecx, esi
call fcn.00479b50
add esp, 4
test eax, eax
je 0x522ee0
mov esi, edi
mov dword [esp + 0x1c], esi
jmp 0x522db5
cmp byte [esi], 0x3d
jne 0x522f28
mov byte [edi], 0
lea edi, [esi + 1]
mov esi, dword [esp + 0x10]
mov dl, byte [edi]
cmp dl, 0x7f
ja 0x522ba1
mov eax, dword [esi + 4]
movzx ecx, dl
movzx eax, word [eax + ecx*2]
test al, 0x10
je 0x522ba1
test al, 8
jne 0x522ba1
inc edi
jmp 0x522b85
mov ecx, edi
cmp dl, 0x7f
ja 0x522bb4
mov esi, dword [esi + 4]
movzx eax, dl
test byte [esi + eax*2], 8
jne 0x522bbe
mov dl, byte [ecx + 1]
inc ecx
mov esi, dword [esp + 0x10]
jmp 0x522ba3
dec ecx
cmp ecx, edi
jb 0x522bd7
mov al, byte [ecx]
cmp al, 0x7f
ja 0x522bd7
movzx eax, al
test byte [esi + eax*2], 0x10
je 0x522bd7
dec ecx
cmp ecx, edi
jae 0x522bc3
push 0xc
mov byte [ecx + 1], 0
mov dword [0x6a7ea4], 0
call fcn.005ee808
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
test esi, esi
je 0x522f17
test ebx, ebx
je 0x522ef8
mov ecx, ebx
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x522c10
sub ecx, edx
add ecx, 1
jne 0x522c22
xor edx, edx
jmp 0x522c4d
push ecx
mov dword [0x6a7ea4], 0
call fcn.005ee808
mov edx, eax
add esp, 4
test edx, edx
je 0x522c4d
mov ecx, edx
sub ecx, ebx
nop
mov al, byte [ebx]
lea ebx, [ebx + 1]
mov byte [ecx + ebx - 1], al
test al, al
jne 0x522c40
mov dword [esi + 4], edx
lea eax, [esi + 8]
mov dword [eax], 0
test edx, edx
je 0x522f06
mov ebx, dword [esp + 0x30]
mov edx, ebx
push edi
mov edi, dword [esp + 0x14]
mov ecx, edi
push eax
call fcn.005231f0
add esp, 8
test eax, eax
je 0x522e5a
mov ecx, dword [esp + 0x20]
mov eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x522ca5
test dl, dl
je 0x522ca1
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x522ca5
add eax, 2
add ecx, 2
test dl, dl
jne 0x522c85
xor eax, eax
jmp 0x522caa
sbb eax, eax
or eax, 1
test eax, eax
je 0x522d25
test ebx, ebx
je 0x522d0c
mov edi, dword [edi + 8]
lea eax, [esp + 0x64]
mov dword [esp + 0x78], 0
lea edx, [esp + 0x74]
mov dword [esp + 0x74], ebx
mov ecx, edi
push eax
mov dword [edi + 0x5c], 0
call fcn.004bb640
add esp, 4
mov esi, dword [eax]
test esi, esi
jne 0x522ce5
xor edx, edx
jmp 0x522ce7
mov edx, dword [esi]
xor eax, eax
mov ecx, 1
test esi, esi
sete al
lea eax, [eax*4 + 0x50]
add eax, edi
lock xadd dword [eax], ecx
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
test edx, edx
jne 0x522d29
mov edx, ebx
mov ecx, edi
call fcn.00522180
mov edx, eax
test edx, edx
jne 0x522d29
push 0x1b2
jmp 0x522907
mov edx, dword [esp + 0x40]
mov ebx, dword [edx + 8]
mov eax, dword [edx]
mov dword [esi], eax
test ebx, ebx
je 0x522d4a
push dword [ebx]
mov edx, esi
mov ecx, ebx
call fcn.00479b50
add esp, 4
test eax, eax
je 0x522ee7
mov ecx, dword [edi + 8]
mov edx, esi
call fcn.004bb2f0
mov edi, eax
test edi, edi
je 0x522db1
mov esi, dword [ebx]
xor edx, edx
test esi, esi
jle 0x522d98
mov ecx, dword [ebx + 4]
cmp dword [ecx], edi
je 0x522d73
inc edx
add ecx, 4
cmp edx, esi
jl 0x522d65
jmp 0x522d98
lea eax, [esi - 1]
cmp edx, eax
je 0x522d93
sub esi, edx
lea eax, [esi*4 - 4]
push eax
lea eax, [ecx + 4]
push eax
push ecx
call fcn.005e1be0
mov esi, dword [ebx]
add esp, 0xc
lea eax, [esi - 1]
mov dword [ebx], eax
push dword [edi + 4]
call fcn.005e4cbe
push dword [edi + 8]
call fcn.005e4cbe
push edi
call fcn.005e4cbe
add esp, 0xc
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x14]
mov ecx, edi
lea edx, [ebx + 0x200]
call fcn.00493b40
test eax, eax
jne 0x5225d0
mov edx, 0x79
push 0xe4
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcryptoconfconf_def.c
push 7
lea ecx, [edx - 0x6b]
call fcn.00489de0
mov edi, dword [esp + 0x1c]
add esp, 0xc
xor ebx, ebx
jmp 0x522e5e
mov ecx, dword [esp + 0x14]
call fcn.00493a80
push dword [esp + 0x20]
call fcn.005e4cbe
add esp, 4
test ebx, ebx
je 0x522e20
push dword [ebx + 4]
call fcn.005e4cbe
push ebx
call fcn.005e4cbe
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.005df097
mov esp, ebp
pop ebp
ret
push 0x152
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcryptoconfconf_def.c
push 0x64
mov edx, 0x79
lea ecx, [edx - 0x6b]
call fcn.00489de0
add esp, 0xc
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov ecx, esi
call fcn.00493a80
push dword [esp + 0x20]
call fcn.005e4cbe
mov edx, dword [esp + 0x2c]
add esp, 4
mov ecx, edx
call fcn.00482f50
test eax, eax
jle 0x522fa2
mov edi, dword [esp + 0x1c]
nop dword [eax]
test edx, edx
je 0x522f7e
mov ecx, dword [edx]
test ecx, ecx
je 0x522f7e
mov eax, dword [edx + 4]
mov esi, dword [eax + ecx*4 - 4]
lea eax, [ecx - 1]
mov dword [edx], eax
jmp 0x522f80
xor eax, eax
mov dword [esp + 0x28], eax
push 0x188
mov edx, 0x79
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcryptoconfconf_def.c
push 0x41
lea ecx, [edx - 0x6b]
call fcn.00489de0
push edi
call fcn.0047b180
add esp, 0x10
jmp 0x522e56
push 0x18e
jmp 0x522ebe
push 0x1b8
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcryptoconfconf_def.c
push 0x41
jmp 0x52290e
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push 0x1a6
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcryptoconfconf_def.c
push 0x41
jmp 0x522e46
push 0x1a0
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcryptoconfconf_def.c
push 0x41
jmp 0x522e46
push 0x197
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcryptoconfconf_def.c
push 0x65
jmp 0x522e46
mov dword [esp + 0x20], eax
push 0xd1
jmp 0x52256c
mov edx, 0x65
push 0x25
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_buffer_buffer.c
push 0x41
lea ecx, [edx - 0x5e]
call fcn.00489de0
xor esi, esi
push 0xcb
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcryptoconfconf_def.c
push 7
lea edx, [esi + 0x79]
lea ecx, [esi + 0xe]
call fcn.00489de0
add esp, 0x18
jmp 0x522e62
xor esi, esi
push edi
call fcn.0047b180
mov edx, dword [esp + 0x2c]
add esp, 4
mov ecx, edx
mov edi, esi
call fcn.00482f50
test eax, eax
jg 0x522e90
mov edi, dword [esp + 0x10]
test edx, edx
je 0x522fbb
push dword [edx + 4]
call fcn.005e4cbe
mov eax, dword [esp + 0x2c]
push eax
call fcn.005e4cbe
add esp, 8
push dword [esp + 0x24]
call fcn.005e4cbe
mov esi, dword [esp + 0x3c]
add esp, 4
test esi, esi
je 0x522fe4
push dword [esi + 0x250]
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call fcn.005e4cbe
add esp, 4
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x44]
test ecx, ecx
je 0x522ff2
mov dword [ecx], eax
push eax
push 0x685310
lea eax, [esp + 0xcc]
push 0xd
push eax
call fcn.0047d690
lea eax, [esp + 0xd4]
push eax
push str.line
push 2
call fcn.0048a850
mov esi, dword [edi + 8]
add esp, 0x1c
cmp dword [esp + 0x5c], esi
je 0x52306e
mov eax, dword [0x6af1ec]
mov ecx, 0x6a87ec
test eax, eax
cmovne ecx, eax
lea eax, [esp + 0x84]
push eax
mov dword [0x6af1ec], ecx
mov eax, dword [ecx + 8]
call eax
lea eax, [esp + 0x88]
mov dword [esp + 0x90], esi
push eax
mov eax, dword [esp + 0x8c]
mov eax, dword [eax + 0x10]
call eax
add esp, 8
mov dword [edi + 8], 0
test ebx, ebx
je 0x52308b
push dword [ebx + 4]
call fcn.005e4cbe
push dword [ebx + 8]
call fcn.005e4cbe
push ebx
call fcn.005e4cbe
add esp, 0xc
mov ecx, dword [esp + 0xd4]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005df097
mov esp, ebp
pop ebp
ret