Function at 0x477035
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Get number of processors
Get process heap flags
Get process heap force flags
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x523f24
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x597790]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
push str._installiq
lea ecx, [esp + 0x14]
call fcn.00401769
xor ebx, ebx
mov dword [esp + 0x30], ebx
push ecx
lea eax, [edi + 0x34]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.0040184e
mov byte [esp + 0x34], 1
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.detectionurl
call fcn.00401769
mov byte [esp + 0x3c], 2
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.0040184e
mov byte [esp + 0x40], 3
lea eax, [esp + 0x24]
push eax
push edi
mov byte [esp + 0x48], bl
call fcn.00478b62
mov byte [esp + 0x30], 4
push eax
lea ecx, [edi + 0x34]
call fcn.004044ef
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x14]
call fcn.00401898
push ecx
lea eax, [edi + 0x38]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0040184e
mov byte [esp + 0x34], 5
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.pingurl
call fcn.00401769
mov byte [esp + 0x3c], 6
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.0040184e
mov byte [esp + 0x40], 7
lea eax, [esp + 0x24]
push eax
push edi
mov byte [esp + 0x48], bl
call fcn.00478b62
mov byte [esp + 0x30], 8
push eax
lea ecx, [edi + 0x38]
call fcn.004044ef
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x14]
call fcn.00401898
lea eax, [edi + 0x3c]
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0040184e
mov byte [esp + 0x34], 9
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.postbackurl
call fcn.00401769
mov byte [esp + 0x3c], 0xa
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.0040184e
mov byte [esp + 0x40], 0xb
lea eax, [esp + 0x24]
push eax
push edi
mov byte [esp + 0x48], bl
call fcn.00478b62
mov byte [esp + 0x30], 0xc
push eax
lea ecx, [edi + 0x3c]
call fcn.004044ef
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x14]
call fcn.00401898
push ecx
lea eax, [edi + 0x40]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0040184e
mov byte [esp + 0x34], 0xd
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.logfileurl
call fcn.00401769
mov byte [esp + 0x3c], 0xe
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.0040184e
mov byte [esp + 0x40], 0xf
lea eax, [esp + 0x24]
push eax
push edi
mov byte [esp + 0x48], bl
call fcn.00478b62
mov byte [esp + 0x30], 0x10
push eax
lea ecx, [edi + 0x40]
call fcn.004044ef
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x14]
call fcn.00401898
push ecx
lea eax, [edi + 0x50]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0040184e
mov byte [esp + 0x34], 0x11
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.displayname
call fcn.00401769
mov byte [esp + 0x3c], 0x12
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.0040184e
mov byte [esp + 0x40], 0x13
lea eax, [esp + 0x24]
push eax
push edi
mov byte [esp + 0x48], bl
call fcn.00478b62
mov byte [esp + 0x30], 0x14
push eax
lea ecx, [edi + 0x50]
call fcn.004044ef
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x14]
call fcn.00401898
push ecx
lea eax, [edi + 0x54]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0040184e
mov byte [esp + 0x34], 0x15
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.shortname
call fcn.00401769
mov byte [esp + 0x3c], 0x16
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.0040184e
mov byte [esp + 0x40], 0x17
lea eax, [esp + 0x24]
push eax
push edi
mov byte [esp + 0x48], bl
call fcn.00478b62
mov byte [esp + 0x30], 0x18
push eax
lea ecx, [edi + 0x54]
call fcn.004044ef
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x14]
call fcn.00401898
push ecx
lea eax, [edi + 0x64]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0040184e
mov byte [esp + 0x34], 0x19
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.experimentid
call fcn.00401769
mov byte [esp + 0x3c], 0x1a
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.0040184e
mov byte [esp + 0x40], 0x1b
lea eax, [esp + 0x24]
push eax
push edi
mov byte [esp + 0x48], bl
call fcn.00478b62
mov byte [esp + 0x30], 0x1c
push eax
lea ecx, [edi + 0x64]
call fcn.004044ef
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x14]
call fcn.00401898
push ecx
lea eax, [edi + 0x68]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0040184e
mov byte [esp + 0x34], 0x1d
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.treatmentid
call fcn.00401769
mov byte [esp + 0x3c], 0x1e
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.0040184e
mov byte [esp + 0x40], 0x1f
lea eax, [esp + 0x24]
push eax
push edi
mov byte [esp + 0x48], bl
call fcn.00478b62
mov byte [esp + 0x30], 0x20
push eax
lea ecx, [edi + 0x68]
call fcn.004044ef
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x14]
call fcn.00401898
mov eax, dword [edi]
push 0x800
mov ecx, edi
call dword [eax + 0x84]
push eax
push ebx
push 0x800
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.beta
call fcn.00401769
mov byte [esp + 0x40], 0x21
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.0040184e
mov byte [esp + 0x44], 0x22
push edi
mov byte [esp + 0x48], bl
mov ecx, esi
call fcn.00479138
mov eax, dword [edi]
push 4
mov ecx, edi
call dword [eax + 0x84]
push eax
push ebx
push 4
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.demo
call fcn.00401769
mov byte [esp + 0x40], 0x23
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.0040184e
mov byte [esp + 0x44], 0x24
push edi
mov byte [esp + 0x48], bl
mov ecx, esi
call fcn.00479138
mov eax, dword [edi]
push 2
mov ecx, edi
call dword [eax + 0x84]
push eax
push ebx
push 2
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.test
call fcn.00401769
mov byte [esp + 0x40], 0x25
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.0040184e
mov byte [esp + 0x44], 0x26
push edi
mov byte [esp + 0x48], bl
mov ecx, esi
call fcn.00479138
push str._settings
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.004041d2
add esp, 0xc
mov byte [esp + 0x30], 0x27
push dword [edi + 0x6c]
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.pingtimeoutseconds
call fcn.00401769
mov byte [esp + 0x3c], 0x28
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.0040184e
mov byte [esp + 0x40], 0x29
push esi
push edi
mov byte [esp + 0x48], 0x27
call fcn.0047933c
push dword [edi + 0x70]
mov dword [edi + 0x6c], eax
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.pingmaxattempts
call fcn.00401769
mov byte [esp + 0x3c], 0x2a
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.0040184e
mov byte [esp + 0x40], 0x2b
mov byte [esp + 0x40], 0x27
mov ecx, esi
mov edx, edi
call fcn.00478d62
push dword [edi + 0x74]
mov dword [edi + 0x70], eax
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.pingdownloadmethod
call fcn.00401769
mov byte [esp + 0x3c], 0x2c
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.0040184e
mov byte [esp + 0x40], 0x2d
push esi
push edi
mov byte [esp + 0x48], 0x27
call fcn.00479401
push dword [edi + 0x78]
mov dword [edi + 0x74], eax
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.trickledownloadmethod
call fcn.00401769
mov byte [esp + 0x3c], 0x2e
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.0040184e
mov byte [esp + 0x40], 0x2f
push esi
push edi
mov byte [esp + 0x48], 0x27
call fcn.00479401
mov dword [edi + 0x78], eax
mov eax, dword [edi]
push 8
mov ecx, edi
call dword [eax + 0x84]
push eax
push ebx
push 8
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.checkhardware
call fcn.00401769
mov byte [esp + 0x40], 0x30
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.0040184e
mov byte [esp + 0x44], 0x31
push edi
mov byte [esp + 0x48], 0x27
mov ecx, esi
call fcn.00479138
mov eax, dword [edi]
push 0x10
mov ecx, edi
call dword [eax + 0x84]
push eax
push ebx
push 0x10
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.handlecookies
call fcn.00401769
mov byte [esp + 0x40], 0x32
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.0040184e
mov byte [esp + 0x44], 0x33
push edi
mov byte [esp + 0x48], 0x27
mov ecx, esi
call fcn.00479138
mov eax, dword [edi]
push 0x200
mov ecx, edi
call dword [eax + 0x84]
push eax
push ebx
push 0x200
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.serializeofferinstalls
call fcn.00401769
mov byte [esp + 0x40], 0x34
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.0040184e
mov byte [esp + 0x44], 0x35
push edi
mov byte [esp + 0x48], 0x27
mov ecx, esi
call fcn.00479138
mov eax, dword [edi]
push 0x400
mov ecx, edi
call dword [eax + 0x84]
push eax
push ebx
push 0x400
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.installproductlast
call fcn.00401769
mov byte [esp + 0x40], 0x36
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.0040184e
mov byte [esp + 0x44], 0x37
push edi
mov byte [esp + 0x48], 0x27
mov ecx, esi
call fcn.00479138
mov eax, dword [edi]
push 0x80
mov ecx, edi
call dword [eax + 0x84]
push eax
push ebx
push 0x80
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.testinstallproduct
call fcn.00401769
mov byte [esp + 0x40], 0x38
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.0040184e
mov byte [esp + 0x44], 0x39
push edi
mov byte [esp + 0x48], 0x27
mov ecx, esi
call fcn.00479138
mov eax, dword [edi]
push 0x2000000
mov ecx, edi
call dword [eax + 0x84]
push eax
push ebx
push 0x2000000
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.acceptbusyoffers
call fcn.00401769
mov byte [esp + 0x40], 0x3a
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.0040184e
mov byte [esp + 0x44], 0x3b
push edi
mov byte [esp + 0x48], 0x27
mov ecx, esi
call fcn.00479138
mov eax, dword [edi]
push 0x1000000
mov ecx, edi
call dword [eax + 0x84]
push eax
push ebx
push 0x1000000
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.sendlog
call fcn.00401769
mov byte [esp + 0x40], 0x3c
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.0040184e
mov byte [esp + 0x44], 0x3d
push edi
mov byte [esp + 0x48], 0x27
mov ecx, esi
call fcn.00479138
mov eax, dword [edi]
push 0x20
mov ecx, edi
call dword [eax + 0x84]
push eax
push ebx
push 0x20
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.keeplog
call fcn.00401769
mov byte [esp + 0x40], 0x3e
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.0040184e
mov byte [esp + 0x44], 0x3f
push edi
mov byte [esp + 0x48], 0x27
mov ecx, esi
call fcn.00479138
mov eax, dword [edi]
push 0x4000000
mov ecx, edi
call dword [eax + 0x84]
push eax
push ebx
push 0x4000000
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.silentpostback
call fcn.00401769
mov byte [esp + 0x40], 0x40
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.0040184e
mov byte [esp + 0x44], 0x41
push edi
mov byte [esp + 0x48], 0x27
mov ecx, esi
call fcn.00479138
mov eax, dword [edi]
push 0x80000
mov ecx, edi
call dword [eax + 0x84]
push eax
push ebx
push 0x80000
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.sendparentprocess
call fcn.00401769
mov byte [esp + 0x40], 0x42
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
lea eax, [esp + 0x20]
push eax
call fcn.0040184e
mov byte [esp + 0x44], 0x43
push edi
mov byte [esp + 0x48], 0x27
mov ecx, esi
call fcn.00479138
mov eax, dword [edi]
push 0x100000
mov ecx, edi
call dword [eax + 0x84]
push eax
push ebx
push 0x100000
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.useencryption
call fcn.00401769
mov byte [esp + 0x40], 0x44
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.0040184e
mov byte [esp + 0x44], 0x45
push edi
mov byte [esp + 0x48], 0x27
mov ecx, esi
call fcn.00479138
mov eax, dword [edi]
push 0x10000000
mov ecx, edi
call dword [eax + 0x84]
push eax
push ebx
push 0x10000000
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.iqaxexperiment
call fcn.00401769
mov byte [esp + 0x40], 0x46
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.0040184e
mov byte [esp + 0x44], 0x47
push edi
mov byte [esp + 0x48], 0x27
mov ecx, esi
call fcn.00479138
mov eax, dword [edi]
push 0x20000000
mov ecx, edi
call dword [eax + 0x84]
push eax
push ebx
push 0x20000000
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.clickonceexperiment
call fcn.00401769
mov byte [esp + 0x40], 0x48
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.0040184e
mov byte [esp + 0x44], 0x49
push edi
mov byte [esp + 0x48], 0x27
mov ecx, esi
call fcn.00479138
mov eax, dword [edi]
push 0x10000000
mov ecx, edi
call dword [eax + 0x84]
push eax
push ebx
push 0x10000000
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.iqaxexperiment
call fcn.00401769
mov byte [esp + 0x40], 0x4a
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.0040184e
mov byte [esp + 0x44], 0x4b
push edi
mov byte [esp + 0x48], 0x27
mov ecx, esi
call fcn.00479138
push dword [edi + 0x7c]
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.postbackwaitseconds
call fcn.00401769
mov byte [esp + 0x3c], 0x4c
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.0040184e
mov byte [esp + 0x40], 0x4d
push esi
push edi
mov byte [esp + 0x48], 0x27
call fcn.0047933c
push dword [edi + 0x80]
mov dword [edi + 0x7c], eax
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.exitwaitseconds
call fcn.00401769
mov byte [esp + 0x3c], 0x4e
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.0040184e
mov byte [esp + 0x40], 0x4f
push esi
push edi
mov byte [esp + 0x48], 0x27
call fcn.0047933c
push dword [edi + 0x84]
mov dword [edi + 0x80], eax
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.offerwaitbeforenext
call fcn.00401769
mov byte [esp + 0x3c], 0x50
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.0040184e
mov byte [esp + 0x40], 0x51
push esi
push edi
mov byte [esp + 0x48], 0x27
call fcn.0047933c
push dword [edi + 0x88]
mov dword [edi + 0x84], eax
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.minimizedelay
call fcn.00401769
mov byte [esp + 0x3c], 0x52
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.0040184e
mov byte [esp + 0x40], 0x53
push esi
push edi
mov byte [esp + 0x48], 0x27
call fcn.0047933c
push dword [edi + 0xc4]
mov dword [edi + 0x88], eax
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.retrycommerrors
call fcn.00401769
mov byte [esp + 0x3c], 0x54
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.0040184e
mov byte [esp + 0x40], 0x55
mov byte [esp + 0x40], 0x27
mov ecx, esi
mov edx, edi
call fcn.00478f4d
push dword [edi + 0xc8]
mov dword [edi + 0xc4], eax
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.handleproxy
call fcn.00401769
mov byte [esp + 0x3c], 0x56
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.0040184e
mov byte [esp + 0x40], 0x57
mov byte [esp + 0x40], 0x27
mov ecx, esi
mov edx, edi
call fcn.00478f4d
push dword [edi + 0xcc]
mov dword [edi + 0xc8], eax
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.accelminblocksize
call fcn.00401769
mov byte [esp + 0x3c], 0x58
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.0040184e
mov byte [esp + 0x40], 0x59
mov byte [esp + 0x40], 0x27
mov ecx, esi
mov edx, edi
call fcn.00478d62
push dword [edi + 0xd0]
mov dword [edi + 0xcc], eax
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.accelmaxthreads
call fcn.00401769
mov byte [esp + 0x3c], 0x5a
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.0040184e
mov byte [esp + 0x40], 0x5b
mov byte [esp + 0x40], 0x27
mov ecx, esi
mov edx, edi
call fcn.00478d62
push dword [edi + 0xd4]
mov dword [edi + 0xd0], eax
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.maxdownloadthreads
call fcn.00401769
mov byte [esp + 0x3c], 0x5c
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.0040184e
mov byte [esp + 0x40], 0x5d
mov byte [esp + 0x40], 0x27
mov ecx, esi
mov edx, edi
call fcn.00478d62
xor ecx, ecx
inc ecx
mov dword [edi + 0xd4], eax
cmp eax, ecx
jae 0x477c8c
mov dword [edi + 0xd4], ecx
push dword [edi + 0xe4]
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.maxregistryofferentries
call fcn.00401769
mov byte [esp + 0x3c], 0x5e
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.0040184e
mov byte [esp + 0x40], 0x5f
mov byte [esp + 0x40], 0x27
mov ecx, esi
mov edx, edi
call fcn.00478d62
push dword [edi + 0xe8]
mov dword [edi + 0xe4], eax
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.storeregistryofferentries
call fcn.00401769
mov byte [esp + 0x3c], 0x60
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.0040184e
mov byte [esp + 0x40], 0x61
mov byte [esp + 0x40], 0x27
mov ecx, esi
mov edx, edi
call fcn.00478f4d
mov dword [edi + 0xe8], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov esi, eax
neg esi
sbb esi, esi
inc esi
mov byte [esp + 0x30], bl
lea ecx, [esp + 0xc]
call fcn.00401898
or dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00401898
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret